diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2020-02-22 13:02:00 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2020-02-22 13:02:00 +0000 |
| commit | 8e37a18083e8cdba1cfd4ee042d8f8edf7cfad39 (patch) | |
| tree | 545c9aea0fdba18420c70ff33967a071b4cf4d16 /terminal.c | |
| parent | sixel: use terminal's background color, not palette[0] (diff) | |
sixel: application configurable palette size (color count)
This implements the CSI escapes for retrieving and (re)setting the
palette size.
Diffstat (limited to 'terminal.c')
| -rw-r--r-- | terminal.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -741,6 +741,9 @@ term_init(const struct config *conf, struct fdm *fdm, struct wayland *wayl, .lower_fd = delay_lower_fd, .upper_fd = delay_upper_fd, }, + .sixel = { + .palette_size = SIXEL_MAX_COLORS, + }, .sixel_images = tll_init(), .hold_at_exit = conf->hold_at_exit, .shutdown_cb = shutdown_cb, |
