aboutsummaryrefslogtreecommitdiff
path: root/input.c
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2015-11-24 00:01:16 +0000
committerThomas Adam <thomas@xteddy.org>2015-11-24 00:01:16 +0000
commit3f47ff6ecd7c126474c77d03f7886b7ef232d468 (patch)
tree053298180bde040040f91c526a4bec0118919f76 /input.c
parentb642b3c8e388d0c9a81d18ae183bb62cfd24d434 (diff)
parent2adf3f42ee451b30ef492229dac322808f93d8dc (diff)
downloadrtmux-3f47ff6ecd7c126474c77d03f7886b7ef232d468.tar.gz
rtmux-3f47ff6ecd7c126474c77d03f7886b7ef232d468.tar.bz2
rtmux-3f47ff6ecd7c126474c77d03f7886b7ef232d468.zip
Merge branch 'obsd-master'
Diffstat (limited to 'input.c')
-rw-r--r--input.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/input.c b/input.c
index b4663d10..d8e80afb 100644
--- a/input.c
+++ b/input.c
@@ -1461,6 +1461,9 @@ input_csi_dispatch_rm_private(struct input_ctx *ictx)
case 1004:
screen_write_mode_clear(&ictx->ctx, MODE_FOCUSON);
break;
+ case 1005:
+ screen_write_mode_clear(&ictx->ctx, MODE_MOUSE_UTF8);
+ break;
case 1006:
screen_write_mode_clear(&ictx->ctx, MODE_MOUSE_SGR);
break;
@@ -1541,6 +1544,9 @@ input_csi_dispatch_sm_private(struct input_ctx *ictx)
screen_write_mode_set(&ictx->ctx, MODE_FOCUSON);
wp->flags |= PANE_FOCUSPUSH; /* force update */
break;
+ case 1005:
+ screen_write_mode_set(&ictx->ctx, MODE_MOUSE_UTF8);
+ break;
case 1006:
screen_write_mode_set(&ictx->ctx, MODE_MOUSE_SGR);
break;