mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-22 05:33:45 -04:00
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
This commit is contained in:
parent
313431800e
commit
4aa980a6a2
5 changed files with 43 additions and 7 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue