aboutsummaryrefslogtreecommitdiff
path: root/terminal.h
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2021-03-12 20:42:17 +0000
committerDaniel Eklöf <daniel@ekloef.se>2021-03-12 20:42:17 +0000
commitf19e1e4c367f9e9df6098589523a9dcc3054bd02 (patch)
tree858c61ae8633daf108cb72c1efa254ab01f6304a /terminal.h
parentMerge branch 'sixel-optimize' (diff)
parentchangelog: implemented DCS parameter P2 (diff)
Merge branch 'sixel-background-and-transparency'
Closes #391
Diffstat (limited to 'terminal.h')
-rw-r--r--terminal.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/terminal.h b/terminal.h
index 8be5dd74..0fcd97ea 100644
--- a/terminal.h
+++ b/terminal.h
@@ -112,6 +112,7 @@ struct sixel {
int rows;
int cols;
struct coord pos;
+ bool opaque;
};
struct grid {
@@ -542,6 +543,8 @@ struct terminal {
unsigned param; /* Currently collecting parameter, for RASTER, COLOR_SPEC and REPEAT */
unsigned param_idx; /* Parameters seen */
+ bool transparent_bg;
+
/* Application configurable */
unsigned palette_size; /* Number of colors in palette */
unsigned max_width; /* Maximum image width, in pixels */