mirror of
https://github.com/asciinema/asciinema.git
synced 2026-04-26 00:15:56 +03:00
[PR #368] [CLOSED] Check playback size can fit in terminal #442
Labels
No labels
bug
compatibility
feature request
fit for beginners
help wanted
hosting
idea
improvement
packaging
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/asciinema#442
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/asciinema/asciinema/pull/368
Author: @geisler
Created: 9/4/2019
Status: ❌ Closed
Base:
develop← Head:develop📝 Commits (2)
c4ce21eCheck playback size can fit in terminal4806723Update warning message📊 Changes
3 files changed (+15 additions, -0 deletions)
View changed files
📝
asciinema/asciicast/v1.py(+3 -0)📝
asciinema/asciicast/v2.py(+3 -0)📝
asciinema/commands/play.py(+9 -0)📄 Description
Before playing a recorded file, check that the terminal that is running
the playback is at least as large as the recorded content. This will
allow all the escape characters that change the location on the screen
to go to a legal spot and, therefore, everything should display
properly.
I've chosen to warn for a smaller size instead of causing an error in
case the playback doesn't use escape codes that are too large, but one
could argue that an error is legitimate here, too.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.