diff options
Diffstat (limited to 'input.c')
-rw-r--r-- | input.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -1565,10 +1565,11 @@ input_exit_osc(struct input_ctx *ictx) server_status_window(ictx->wp->window); break; case 12: - screen_set_cursor_colour(ictx->ctx.s, p); + if (*p != '?') /* ? is colour request */ + screen_set_cursor_colour(ictx->ctx.s, p); break; case 112: - if (*p == '\0') /* No arguments allowed. */ + if (*p == '\0') /* no arguments allowed */ screen_set_cursor_colour(ictx->ctx.s, ""); break; default: |