diff options
-rw-r--r-- | input.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -2292,6 +2292,8 @@ input_exit_osc(struct input_ctx *ictx) option = 0; while (*p >= '0' && *p <= '9') option = option * 10 + *p++ - '0'; + if (*p != ';' && *p != '\0') + return; if (*p == ';') p++; |