Partly revert previous, it is harmless to keep support for UTF-8 mouse

mode inside tmux, just no longer support it for tmux itself.
This commit is contained in:
nicm
2015-11-23 23:47:57 +00:00
parent 32e510bd70
commit 2adf3f42ee
4 changed files with 14 additions and 2 deletions

View File

@ -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_SGR);
s->mode &= ~(ALL_MOUSE_MODES|MODE_MOUSE_UTF8|MODE_MOUSE_SGR);
screen_write_clearscreen(ctx);
screen_write_cursormove(ctx, 0, 0);