From 28c2bea800e5de411d7c52680bf698ca7246f1aa Mon Sep 17 00:00:00 2001 From: Daniel Eklöf Date: Wed, 7 Apr 2021 19:04:25 +0200 Subject: osc: reset background alpha when resetting the background color --- terminal.c | 1 + 1 file changed, 1 insertion(+) (limited to 'terminal.c') 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; -- cgit v1.3