diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2009-01-28 19:52:21 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2009-01-28 19:52:21 +0000 |
commit | 4428987e955da1c56d1fcd98d2130f6a02738f1a (patch) | |
tree | c17e6a8d9d907c28c39039346cf99d54a3cf4b93 /tty-write.c | |
parent | 70024b3685126195994313790c26359236889485 (diff) | |
download | rtmux-4428987e955da1c56d1fcd98d2130f6a02738f1a.tar.gz rtmux-4428987e955da1c56d1fcd98d2130f6a02738f1a.tar.bz2 rtmux-4428987e955da1c56d1fcd98d2130f6a02738f1a.zip |
* Better support for at least the most common variant of mouse input: parse it and adjust for different panes. Also support mouse in window/session choice mode.
* Bring back the fancy window titles with session/window names: it is easy to work around problems with elinks (see FAQ).
Diffstat (limited to 'tty-write.c')
-rw-r--r-- | tty-write.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/tty-write.c b/tty-write.c index 409ed08c..ddcca395 100644 --- a/tty-write.c +++ b/tty-write.c @@ -1,4 +1,4 @@ -/* $Id: tty-write.c,v 1.8 2009-01-27 21:39:15 nicm Exp $ */ +/* $Id: tty-write.c,v 1.9 2009-01-28 19:52:21 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -57,7 +57,7 @@ tty_vwrite_window(void *ptr, enum tty_cmd cmd, va_list ap) } void -tty_write_cursor_off(void *ptr) +tty_write_update_mode(void *ptr, int mode) { struct window_pane *wp = ptr; struct client *c; @@ -73,6 +73,7 @@ tty_write_cursor_off(void *ptr) if (c->flags & CLIENT_SUSPENDED) continue; - tty_cursor_off(&c->tty); + tty_update_mode(&c->tty, mode); } } + |