diff options
Diffstat (limited to 'osc.c')
| -rw-r--r-- | osc.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -431,6 +431,9 @@ osc_dispatch(struct terminal *term) /* Set color<idx> */ string--; + if (*string != ';') + break; + assert(*string == ';'); for (const char *s_idx = strtok(string, ";"), *s_color = strtok(NULL, ";"); |
