diff --git a/osc.c b/osc.c index 0aa75247..157272d9 100644 --- a/osc.c +++ b/osc.c @@ -824,6 +824,7 @@ osc_dispatch(struct terminal *term) case 111: /* Reset default text background color */ LOG_DBG("resetting background color"); term->colors.bg = term->conf->colors.bg; + term->colors.alpha = term->conf->colors.alpha; term_damage_view(term); term_damage_margins(term); break; 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;