diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2023-06-16 14:20:37 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2023-06-24 05:31:02 +0000 |
| commit | 66d9b8da604e4fd3aa6ee96da3609ff6b9896f50 (patch) | |
| tree | ca1c0014cf7c44a24e061a1d2fe2acbc2b977ea5 /debug.h | |
| parent | term: scroll: only record scroll damage when viewport is at the bottom (diff) | |
sixel: fix cursor positioning logic
This adjusts the logic that positions the text cursor after emitting a
sixel, when sixel scrolling mode is *enabled*.
We’ve always mimicked XTerm’s behavior. However, XTerm recently
changed its behavior, to better match that of an VT382.
Now, the cursor is placed *on* the last row of the sixel, instead of
on a new row after the sixel.
This allows applications to print sixels to the bottom row of the
terminal, without causing the content to scroll.
Finally, there was a bug in the horizontal positioning of the cursor;
it was placed on the *first* column of the row, instead of on the
first column of the sixel.
Diffstat (limited to 'debug.h')
0 files changed, 0 insertions, 0 deletions
