sixel: application configurable image max width/height

This commit is contained in:
Daniel Eklöf 2020-02-22 21:03:24 +01:00
parent 8e37a18083
commit 25b09b909c
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
4 changed files with 86 additions and 8 deletions

View file

@ -378,7 +378,9 @@ struct terminal {
unsigned param_idx; /* Parameters seen */
/* Application configurable */
unsigned palette_size;
unsigned palette_size; /* Number of colors in palette */
unsigned max_width; /* Maximum image width, in pixels */
unsigned max_height; /* Maximum image height, in pixels */
} sixel;
tll(struct sixel) sixel_images;