aboutsummaryrefslogtreecommitdiff
path: root/terminal.c
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2021-04-07 17:04:25 +0000
committerDaniel Eklöf <daniel@ekloef.se>2021-04-18 18:08:06 +0000
commite853098f4608d5fa457bc873bb4fcfb23d6c2396 (patch)
tree8f212f13e2244cfb6755b2753d5120f4e105d46a /terminal.c
parentdoc: foot-ctlseq: mention that we support transparency in OSC 11 (diff)
osc: reset background alpha when resetting the background color
Diffstat (limited to 'terminal.c')
-rw-r--r--terminal.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/terminal.c b/terminal.c
index c6b4705c..fd206090 100644
--- a/terminal.c
+++ b/terminal.c
@@ -1682,6 +1682,7 @@ term_reset(struct terminal *term, bool hard)
fdm_del(term->fdm, term->blink.fd); term->blink.fd = -1;
term->colors.fg = term->conf->colors.fg;
term->colors.bg = term->conf->colors.bg;
+ term->colors.alpha = term->conf->colors.alpha;
memcpy(term->colors.table, term->conf->colors.table,
sizeof(term->colors.table));
term->origin = ORIGIN_ABSOLUTE;