aboutsummaryrefslogtreecommitdiff
path: root/terminal.h
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2021-09-05 08:27:13 +0000
committerDaniel Eklöf <daniel@ekloef.se>2021-09-05 08:27:13 +0000
commitf9642e959725fc43ad7dac0e3c8be842d53aa903 (patch)
tree37e70b4ce0051e9dc38e8b3c0170072001de8fb9 /terminal.h
parentserver: no need to clone the config to handle -N,--no-wait (diff)
sixel: calculate default bg once, in init
We have all information we need to calculate the default background color in sixel_init(): * Whether the image have transparency or not * The current ANSI background color
Diffstat (limited to 'terminal.h')
-rw-r--r--terminal.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/terminal.h b/terminal.h
index df253434..26dcd847 100644
--- a/terminal.h
+++ b/terminal.h
@@ -576,6 +576,7 @@ struct terminal {
unsigned param_idx; /* Parameters seen */
bool transparent_bg;
+ uint32_t default_bg;
/* Application configurable */
unsigned palette_size; /* Number of colors in palette */