sixel: resize image buffer dynamically

This commit is contained in:
Daniel Eklöf 2020-02-22 10:46:35 +01:00
parent bb82b9fabc
commit 00c6d4dde1
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
2 changed files with 86 additions and 24 deletions

View file

@ -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;