tlog
tlog copied to clipboard
Consider using control sequences for terminal resizing on playback
Apparently XTerm, and some other terminal emulators support control sequences for resizing the terminal window. Found in asciinema/asciinema#198. Most of the terminals appear to require explicit enabling of this feature, as it can be abused.
However, we can provide that option in tlog-play, and insert these sequences into the output when reading the resize entries, so that users who wish to use XTerm, or gnome-terminal, and see resizes can do that.
To allow window operations for a single xterm instance this command line can be used:
uxterm -xrm 'xterm*allowWindowOps: true'
Then a command line like this can be used to try to resize the xterm window:
echo -ne '\e[8;60;120t'
This command resizes it to 120x60 characters.
@spbnick could you ban that guy ? he did same spam in asciinema project
Yeah, I know, he mentioned me, but I wouldn't ban somebody for just being silly, unless they persist.
Y'all can use https://github.com/contact/report-abuse?report=timofonic+(user) to report their behaviour to github though.
Thank you, Ian.