* 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).
This commit is contained in:
Nicholas Marriott
2009-01-28 19:52:21 +00:00
parent 70024b3685
commit 4428987e95
16 changed files with 202 additions and 103 deletions

View File

@ -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);
}
}