diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2020-02-22 09:46:35 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2020-02-22 09:46:35 +0000 |
| commit | 00c6d4dde1346dc5f3bee394f147b8195c46a28c (patch) | |
| tree | 40cf9f146b6afa4e7cf18e6ad57567334c2f9de0 /terminal.h | |
| parent | sixel: add sixel_destroy() (diff) | |
sixel: resize image buffer dynamically
Diffstat (limited to 'terminal.h')
| -rw-r--r-- | terminal.h | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -362,7 +362,12 @@ struct terminal { int max_col; unsigned params[4]; uint32_t *palette; - uint32_t *image; + + struct { + uint32_t *data; + int width; + int height; + } image; unsigned int param; unsigned param_idx; |
