aboutsummaryrefslogtreecommitdiff
path: root/terminal.h
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2020-02-22 20:03:24 +0000
committerDaniel Eklöf <daniel@ekloef.se>2020-02-22 20:03:24 +0000
commit25b09b909ca39cee6432ffd10e179336dbc178e1 (patch)
tree86b3bc36146f24b743a0bf2e9352c6cb04a0ef39 /terminal.h
parentsixel: application configurable palette size (color count) (diff)
sixel: application configurable image max width/height
Diffstat (limited to 'terminal.h')
-rw-r--r--terminal.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/terminal.h b/terminal.h
index e0738057..5e491d29 100644
--- a/terminal.h
+++ b/terminal.h
@@ -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;