diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2020-06-10 16:36:54 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2020-06-10 16:38:46 +0000 |
| commit | cc5dedc259c4157516915e109b77ac88b9943a55 (patch) | |
| tree | 56991713b155cd5f08d750ce87bb646ae1688295 /sixel.h | |
| parent | doc: benchmark: move alacritty-unicode-random text from footnote to separate chapter (diff) | |
sixel: do not reset palette after each image
A client can re-use the palette between images. Resetting the palette
breaks this.
Now we initialize the palette on demand, and resets it when the
palette size is changed (by the client).
Diffstat (limited to 'sixel.h')
| -rw-r--r-- | sixel.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -4,6 +4,8 @@ #define SIXEL_MAX_COLORS 1024u +void sixel_fini(struct terminal *term); + void sixel_init(struct terminal *term); void sixel_put(struct terminal *term, uint8_t c); void sixel_unhook(struct terminal *term); |
