mirror of
https://github.com/asciinema/asciinema.git
synced 2026-04-25 07:55:51 +03:00
[GH-ISSUE #198] Consider resizing terminal in asciinema play #146
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#146
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?
Originally created by @ku1ik on GitHub (Mar 24, 2017).
Original GitHub issue: https://github.com/asciinema/asciinema/issues/198
Given we know width/height of the terminal that was used during recording session, we can send
\e[18;24;80t(replace 80 with actual width and 24 with height) to the terminal at the beginning of the playback.This escape sequence is part of "Window manipulation" sequence family, described in XTerm documentation.
It isn't supported by all terminal emulators, but it seems to work with XTerm, Gnome Terminal, Terminal.app (macOS).
@ku1ik commented on GitHub (Mar 24, 2017):
This could be a default behavior, with command line switch and config option to enable/disable this.
@cassdeckard commented on GitHub (Mar 24, 2017):
Thanks for adding this, @sickill . I didn't realize the recorder was in a different repo.