summaryrefslogtreecommitdiffstats
path: root/input.c
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2013-01-17 22:14:18 +0000
committerThomas Adam <thomas@xteddy.org>2013-01-17 22:14:18 +0000
commit2ca8b7f3593ec5a88c9f56a43f5076800957a0db (patch)
tree5fde002fa09c9fe26098766fa581f88d050fff90 /input.c
parent57ca4289759a438829aa79149f152ec46533e258 (diff)
parent3a09e01a8e0e64f02ec054ca098da0bd8bbdf5dd (diff)
Merge branch 'obsd-master'
Diffstat (limited to 'input.c')
-rw-r--r--input.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/input.c b/input.c
index 0f4ddb48..bdd1936e 100644
--- a/input.c
+++ b/input.c
@@ -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: