diff options
author | Hiltjo Posthuma <hiltjo@codemadness.org> | 2021-12-26 19:00:41 +0100 |
---|---|---|
committer | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2023-05-08 00:34:03 +0200 |
commit | 4ef1ae3cceb7e798c5afe0847c62053c0fb847ee (patch) | |
tree | 4e1b8212f27b3acb60e8eb75e09d7da4e761fefb /st.c | |
parent | ceca10754a40c388d6e783224b009a03d5c833e3 (diff) |
follow-up fix for OSC color sequences, return
Otherwise the message "erresc: unknown str" is printed.
Diffstat (limited to 'st.c')
-rw-r--r-- | st.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -2043,7 +2043,7 @@ strhandle(void) fprintf(stderr, "erresc: invalid foreground color: %s\n", p); else redraw(); - break; + return; case 11: if (narg < 2) break; @@ -2056,7 +2056,7 @@ strhandle(void) fprintf(stderr, "erresc: invalid background color: %s\n", p); else redraw(); - break; + return; case 12: if (narg < 2) break; @@ -2069,7 +2069,7 @@ strhandle(void) fprintf(stderr, "erresc: invalid cursor color: %s\n", p); else redraw(); - break; + return; case 4: /* color set */ if (narg < 3) break; |