aboutsummaryrefslogtreecommitdiff
path: root/terminal.c
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2021-02-16 18:37:49 +0000
committerDaniel Eklöf <daniel@ekloef.se>2021-02-23 08:40:22 +0000
commit4aa980a6a2ce3c3dde0df99438b88969deed3e36 (patch)
tree3dbc2b270000abe2832873d6b596aa65d5cd8dab /terminal.c
parentMerge branch 'document-control-sequences' (diff)
sixel: implement private mode 1070 - private color palette
When enabled (the default), sixels use private color registers. That is, the color palette from the last sixel is *not* re-used. When disabled, sixels share (i.e. re-use) the same color palette. Closes #362
Diffstat (limited to 'terminal.c')
-rw-r--r--terminal.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/terminal.c b/terminal.c
index 3710f005..60ed8694 100644
--- a/terminal.c
+++ b/terminal.c
@@ -1180,6 +1180,7 @@ term_init(const struct config *conf, struct fdm *fdm, struct reaper *reaper,
.upper_fd = delay_upper_fd,
},
.sixel = {
+ .use_private_palette = true,
.palette_size = SIXEL_MAX_COLORS,
.max_width = SIXEL_MAX_WIDTH,
.max_height = SIXEL_MAX_HEIGHT,