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.h | |
| 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.h')
| -rw-r--r-- | terminal.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -376,6 +376,9 @@ struct terminal { unsigned params[5]; /* Collected parmaeters, for RASTER, COLOR_SPEC */ unsigned param; /* Currently collecting parameter, for RASTER, COLOR_SPEC and REPEAT */ unsigned param_idx; /* Parameters seen */ + + /* Application configurable */ + unsigned palette_size; } sixel; tll(struct sixel) sixel_images; |
