diff --git a/st.c b/st.c index 2009c6c..b45dae4 100644 --- a/st.c +++ b/st.c @@ -2602,8 +2602,10 @@ strhandle(void) if (p && !strcmp(p, "?")) osc4_color_response(j); else if (xsetcolorname(j, p)) { - if (par == 104 && narg <= 1) + if (par == 104 && narg <= 1) { + xloadcols(); return; /* color reset without parameter */ + } fprintf(stderr, "erresc: invalid color j=%d, p=%s\n", j, p ? p : "(null)"); } else {