aboutsummaryrefslogtreecommitdiff
path: root/client-protocol.h
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2023-06-16 14:20:37 +0000
committerDaniel Eklöf <daniel@ekloef.se>2023-06-24 05:31:02 +0000
commit66d9b8da604e4fd3aa6ee96da3609ff6b9896f50 (patch)
treeca1c0014cf7c44a24e061a1d2fe2acbc2b977ea5 /client-protocol.h
parentterm: 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 'client-protocol.h')
0 files changed, 0 insertions, 0 deletions