mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-01 01:40:13 -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
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue