mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-04-02 07:15:31 -04:00
sixel: resize image buffer dynamically
This commit is contained in:
parent
bb82b9fabc
commit
00c6d4dde1
2 changed files with 86 additions and 24 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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue