aboutsummaryrefslogtreecommitdiff
path: root/input.c
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2017-02-01 12:01:18 +0000
committerThomas Adam <thomas@xteddy.org>2017-02-01 12:01:18 +0000
commit9b1f620aa017bb3634b3806e959580cde75ec655 (patch)
tree2112ace73236adcc27200cecedf6688eade17f7a /input.c
parent9b9a5a292d656f14c927a36bf77af4a4cf1ecb3a (diff)
parentdd0c8147795c518de443c33895c614e52b42677f (diff)
downloadrtmux-9b1f620aa017bb3634b3806e959580cde75ec655.tar.gz
rtmux-9b1f620aa017bb3634b3806e959580cde75ec655.tar.bz2
rtmux-9b1f620aa017bb3634b3806e959580cde75ec655.zip
Merge branch 'obsd-master'
Diffstat (limited to 'input.c')
-rw-r--r--input.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/input.c b/input.c
index 4875356e..17f81dd7 100644
--- a/input.c
+++ b/input.c
@@ -1477,6 +1477,7 @@ input_csi_dispatch_rm_private(struct input_ctx *ictx)
case 1000:
case 1001:
case 1002:
+ case 1003:
screen_write_mode_clear(&ictx->ctx, ALL_MOUSE_MODES);
break;
case 1004:
@@ -1560,6 +1561,10 @@ input_csi_dispatch_sm_private(struct input_ctx *ictx)
screen_write_mode_clear(&ictx->ctx, ALL_MOUSE_MODES);
screen_write_mode_set(&ictx->ctx, MODE_MOUSE_BUTTON);
break;
+ case 1003:
+ screen_write_mode_clear(&ictx->ctx, ALL_MOUSE_MODES);
+ screen_write_mode_set(&ictx->ctx, MODE_MOUSE_ALL);
+ break;
case 1004:
if (ictx->ctx.s->mode & MODE_FOCUSON)
break;