aboutsummaryrefslogtreecommitdiff
path: root/terminal.h
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2021-02-27 10:49:47 +0000
committerDaniel Eklöf <daniel@ekloef.se>2021-02-27 10:49:47 +0000
commit3f57cc9c01bf3016ce02f5314e7bc3707cadca3b (patch)
tree68d3690823a874c9d534d5e6041b2f8ac8538529 /terminal.h
parentchangelog: default value of -t,--term in --help when built without terminfo (diff)
parentsixel: don’t go past the bottom scroll margin when sixel scrolling is disabled (diff)
Merge branch 'sixel-private-mode-80-scrolling'
Closes #361
Diffstat (limited to 'terminal.h')
-rw-r--r--terminal.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/terminal.h b/terminal.h
index 2a6ae0b1..a7f2ed36 100644
--- a/terminal.h
+++ b/terminal.h
@@ -360,6 +360,7 @@ struct terminal {
bool modify_escape_key:1;
bool ime:1;
+ bool sixel_scrolling:1;
bool sixel_private_palette:1;
bool sixel_cursor_right_of_graphics:1;
} xtsave;
@@ -533,14 +534,14 @@ struct terminal {
bool autosize;
} image;
- bool use_private_palette:1; /* Private mode 1070 */
+ bool scrolling:1; /* Private mode 80 */
+ bool use_private_palette:1; /* Private mode 1070 */
+ bool cursor_right_of_graphics:1; /* Private mode 8452 */
unsigned params[5]; /* Collected parameters, for RASTER, COLOR_SPEC */
unsigned param; /* Currently collecting parameter, for RASTER, COLOR_SPEC and REPEAT */
unsigned param_idx; /* Parameters seen */
- bool cursor_right_of_graphics:1; /* Private mode 8452 */
-
/* Application configurable */
unsigned palette_size; /* Number of colors in palette */
unsigned max_width; /* Maximum image width, in pixels */