mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-05 01:40:41 -05:00
sixel: application configurable palette size (color count)
This implements the CSI escapes for retrieving and (re)setting the palette size.
This commit is contained in:
parent
5e65db3b07
commit
8e37a18083
5 changed files with 73 additions and 6 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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue