summaryrefslogtreecommitdiffstats
path: root/usr.bin/tmux/input.c
diff options
context:
space:
mode:
authornicm <nicm@openbsd.org>2015-11-23 20:53:09 +0000
committernicm <nicm@openbsd.org>2015-11-23 20:53:09 +0000
commit2ac09bbfe3a94ec29e14500a26266b4aeb6bb091 (patch)
treef89e2ea808425308f43c2641a5066fd9de681ad0 /usr.bin/tmux/input.c
parentI accidentally removed a newline in usage() when converting the log (diff)
downloadwireguard-openbsd-2ac09bbfe3a94ec29e14500a26266b4aeb6bb091.tar.xz
wireguard-openbsd-2ac09bbfe3a94ec29e14500a26266b4aeb6bb091.zip
Remove support for the UTF-8 mouse extension. This was a briefly used,
poor idea that was fairly quickly replaced by SGR mouse input (which is now widespread). It is impossible to tell the difference between UTF-8 and non-UTF-8 mouse input; since the mouse-utf8 option was removed tmux has not handled it correctly in any case; and it is ridiculous to have three different forms of mouse input.
Diffstat (limited to 'usr.bin/tmux/input.c')
-rw-r--r--usr.bin/tmux/input.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/usr.bin/tmux/input.c b/usr.bin/tmux/input.c
index 2d9e2460ddd..2ef69973ca2 100644
--- a/usr.bin/tmux/input.c
+++ b/usr.bin/tmux/input.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: input.c,v 1.94 2015/11/18 13:06:54 nicm Exp $ */
+/* $OpenBSD: input.c,v 1.95 2015/11/23 20:53:09 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -1461,9 +1461,6 @@ 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;
@@ -1544,9 +1541,6 @@ 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;