summaryrefslogtreecommitdiffstats
path: root/screen-write.c
diff options
context:
space:
mode:
authornicm <nicm>2015-11-23 20:53:09 +0000
committernicm <nicm>2015-11-23 20:53:09 +0000
commit32e510bd70eedbeec8590b9bf786b11430ddaac3 (patch)
tree9fbb34b458582bdc4e6de4d5ba3255bcec3ef238 /screen-write.c
parent28e72ae34d43dda28ca0e6dc652eaa1179c351c7 (diff)
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 'screen-write.c')
-rw-r--r--screen-write.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/screen-write.c b/screen-write.c
index 53067efe..0c27945b 100644
--- a/screen-write.c
+++ b/screen-write.c
@@ -56,7 +56,7 @@ screen_write_reset(struct screen_write_ctx *ctx)
screen_write_scrollregion(ctx, 0, screen_size_y(s) - 1);
s->mode &= ~(MODE_INSERT|MODE_KCURSOR|MODE_KKEYPAD|MODE_FOCUSON);
- s->mode &= ~(ALL_MOUSE_MODES|MODE_MOUSE_UTF8|MODE_MOUSE_SGR);
+ s->mode &= ~(ALL_MOUSE_MODES|MODE_MOUSE_SGR);
screen_write_clearscreen(ctx);
screen_write_cursormove(ctx, 0, 0);