--- st.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/st.c b/st.c index 62def59..6b9abc0 100644 --- a/st.c +++ b/st.c _AT_@ -1932,9 +1932,11 @@ strhandle(void) if (p && !strcmp(p, "?")) { osc_color_response(j, 0, 1); } else if (xsetcolorname(j, p)) { - if (par == 104 && narg <= 1) - return; /* color reset without parameter */ - fprintf(stderr, "erresc: invalid color j=%d, p=%s\n", + if (par == 104 && narg <= 1){/* color reset without parameter */ + xloadcols(); + return; + } + fprintf(stderr, "erresc: invalid color j=%d, p=%s\n", j, p ? p : "(null)"); } else { /* -- 2.39.1Received on Sat Feb 04 2023 - 12:15:29 CET
This archive was generated by hypermail 2.3.0 : Sat Feb 04 2023 - 12:24:33 CET