aboutsummaryrefslogtreecommitdiff
path: root/terminal.c
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2021-04-08 08:42:06 +0000
committerDaniel Eklöf <daniel@ekloef.se>2021-04-08 08:42:06 +0000
commitdeb08ddba01efdaecf815e45f424c593453a2022 (patch)
tree8f212f13e2244cfb6755b2753d5120f4e105d46a /terminal.c
parentMerge branch 'drain-pty-when-client-terminates' (diff)
parentosc: reset background alpha when resetting the background color (diff)
Merge branch 'osc-11-alpha'
Closes #436
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;