diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2021-09-05 08:27:13 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2021-09-05 08:27:13 +0000 |
| commit | f9642e959725fc43ad7dac0e3c8be842d53aa903 (patch) | |
| tree | 37e70b4ce0051e9dc38e8b3c0170072001de8fb9 /terminal.h | |
| parent | server: 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.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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 */ |
