summaryrefslogtreecommitdiffstats
path: root/input-keys.c
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2015-11-23 21:21:12 +0000
committerThomas Adam <thomas@xteddy.org>2015-11-23 21:21:12 +0000
commitb642b3c8e388d0c9a81d18ae183bb62cfd24d434 (patch)
treea72efec9e4617bfea8043a5895f9254de7f84742 /input-keys.c
parentd63de1e407176bab41c61ad7f3def0e4d0707cdc (diff)
parent32e510bd70eedbeec8590b9bf786b11430ddaac3 (diff)
Merge branch 'obsd-master'
Diffstat (limited to 'input-keys.c')
-rw-r--r--input-keys.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/input-keys.c b/input-keys.c
index 0a18f37e..9538fc42 100644
--- a/input-keys.c
+++ b/input-keys.c
@@ -242,17 +242,11 @@ input_key_mouse(struct window_pane *wp, struct mouse_event *m)
* is because an old style mouse release event cannot be converted into
* the new SGR format, since the released button is unknown). Otherwise
* pretend that tmux doesn't speak this extension, and fall back to the
- * UTF-8 (1005) extension if the application requested, or to the
* legacy format.
*/
if (m->sgr_type != ' ' && (wp->screen->mode & MODE_MOUSE_SGR)) {
len = xsnprintf(buf, sizeof buf, "\033[<%u;%u;%u%c",
m->sgr_b, x + 1, y + 1, m->sgr_type);
- } else if (wp->screen->mode & MODE_MOUSE_UTF8) {
- len = xsnprintf(buf, sizeof buf, "\033[M");
- len += utf8_split2(m->b + 32, &buf[len]);
- len += utf8_split2(x + 33, &buf[len]);
- len += utf8_split2(y + 33, &buf[len]);
} else {
if (m->b > 223)
return;