aboutsummaryrefslogtreecommitdiff
path: root/debug.h
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2024-03-04 15:18:49 +0000
committerDaniel Eklöf <daniel@ekloef.se>2024-03-18 15:58:54 +0000
commit282c55aa4ac9a082392ee13107958fd0b84e7767 (patch)
treecca457a263e3e840404426d9e840722b555b767f /debug.h
parentbase64: simplify lookup table initializer (diff)
sixel: place cursor on the last character row touched by the sixel
After emitting a sixel, place the cursor on the character row touched by the last sixel. The last sixel _may_ not be a multiple of 6 pixels, *if* the sixel had an explicit width/height set via raster attributes. This is an intended deviation from the DEC cursor placement algorithm, where the cursor is placed on the character row touched by the last sixel's *upper* pixel. The adjusted algorithm implemented here makes it much easier for applications to handle text-after-sixels, since they can now simply assume a single text newline is required to move the cursor to a character row not touched by the sixel.
Diffstat (limited to 'debug.h')
0 files changed, 0 insertions, 0 deletions