The branch, master has been updated
via ba3b8ccc1d994ec535721d71b400c3e78ee5ec25 (commit)
from e5eee7de0c35e296b92707fdf66ddd5271f4bcfc (commit)
- Log -----------------------------------------------------------------
commit ba3b8ccc1d994ec535721d71b400c3e78ee5ec25
Author: Nicholas Marriott <[email protected]>
Commit: Nicholas Marriott <[email protected]>
Correctly turn handle UTF8 mouse option being toggled, from Egmont
Koblinger.
---
tty.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/tty.c b/tty.c
index 6da63bf..f1726da 100644
--- a/tty.c
+++ b/tty.c
@@ -489,7 +489,7 @@ tty_update_mode(struct tty *tty, int mode, struct screen *s)
}
tty->cstyle = s->cstyle;
}
- if (changed & ALL_MOUSE_MODES) {
+ if (changed & (ALL_MOUSE_MODES|MODE_MOUSE_UTF8)) {
if (mode & ALL_MOUSE_MODES) {
/*
* Enable the UTF-8 (1005) extension if configured to.
@@ -500,6 +500,8 @@ tty_update_mode(struct tty *tty, int mode, struct screen *s)
*/
if (mode & MODE_MOUSE_UTF8)
tty_puts(tty, "\033[?1005h");
+ else
+ tty_puts(tty, "\033[?1005l");
tty_puts(tty, "\033[?1006h");
if (mode & MODE_MOUSE_ANY)
-----------------------------------------------------------------------
Summary of changes:
tty.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
hooks/post-receive
--
tmux
------------------------------------------------------------------------------
The Go Parallel Website, sponsored by Intel - in partnership with Geeknet,
is your hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials, tech docs,
whitepapers, evaluation guides, and opinion stories. Check out the most
recent posts - join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
tmux-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tmux-cvs