You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Agg appears to cut off the last column of the recording? #316
Describe the bug
When I record with asciinema rec, and play it with asciinema play, it shows all the columns that were recorded. When I pass it to agg, it cuts out the last column for some reason
To Reproduce
Steps to reproduce the behavior:
asciinema rec test
`agg test test.gif
See error
Expected behavior
It should not cut out the last column
Versions:
OS: Arch Linux x86_64
agg: 1.7.0
Additional context
Here's an example of a generated gif:
I found out that this is related to cursor positioning at the edge with auto-wrap mode off, followed by EL sequence.
I replayed your recording in several terminal emulators, all set to 96x25 size (the same as your recording) to see how they handle this case:
Ghostty - last column cut off
iTerm2 - last column visible
Terminal.app - last column cut off
xterm - last column cut off
alacritty - last column visible
Gnome Console - last column visible
kitty - last column visible
WezTerm - last column cut off
It's 50/50... 😅
avt (agg's virtual terminal) typically follows the majority's behavior, and in this case there isn't a clear consensus between terminal emulator implementers it seems. I don't remember if avt's current behavior was intentional or just happened to be implemented like this....
Anyway, there isn't a good answer here I'm afraid.
Activity
ku1ik commentedon May 5, 2026
I found out that this is related to cursor positioning at the edge with auto-wrap mode off, followed by EL sequence.
I replayed your recording in several terminal emulators, all set to 96x25 size (the same as your recording) to see how they handle this case:
It's 50/50... 😅
avt (agg's virtual terminal) typically follows the majority's behavior, and in this case there isn't a clear consensus between terminal emulator implementers it seems. I don't remember if avt's current behavior was intentional or just happened to be implemented like this....
Anyway, there isn't a good answer here I'm afraid.