asciinema / asciinema

Terminal session recorder 📹
https://asciinema.org
GNU General Public License v3.0
14.29k stars 911 forks source link

Feature request: Add Support terminal size, match terminal size between source and destination on play #656

Open esmaeelE opened 1 month ago

esmaeelE commented 1 month ago

Describe the bug Add Support terminal size to match terminal size between source and destination on play. when run asciinema play file_name.cast

To Reproduce Steps to reproduce the behavior:

Run asciinema play file_name.cast on little size terminal window like xfce4-terminal. Here is simple demonstration.

Expected behavior I think it would be good to add this feature to asciinema. The cast file must save the original terminal size on the recording side, and on the playback side, it should use this information to set the proper terminal window size.

Versions:

ku1ik commented 1 month ago

I suppose #650 implements what you're suggesting, right?