aboutsummaryrefslogtreecommitdiff
path: root/terminal.h
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2024-03-11 15:25:45 +0000
committerDaniel Eklöf <daniel@ekloef.se>2024-03-18 16:09:20 +0000
commitcc660bc7c1a55e71f8c7a131fbcf8753b447f977 (patch)
treea97d731dac7b265f571037c71dd5b3b990df842a /terminal.h
parentsixel: place cursor on the last character row touched by the sixel (diff)
sixel: trim trailing, fully transparent sixel rows
See https://github.com/hpjansson/chafa/issues/192
Diffstat (limited to 'terminal.h')
-rw-r--r--terminal.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/terminal.h b/terminal.h
index eeff8af0..a0e3d9d4 100644
--- a/terminal.h
+++ b/terminal.h
@@ -677,6 +677,7 @@ struct terminal {
uint32_t *p; /* Pointer into data, for current position */
int width; /* Image width, in pixels */
int height; /* Image height, in pixels */
+ unsigned int bottom_pixel;
} image;
/*