Add support for focus notifications when tmux pane changes, based on work by

Aaron Jensen.
This commit is contained in:
Nicholas Marriott
2013-02-22 07:23:11 +00:00
parent 8c50f625b0
commit 4c9f9438ff
4 changed files with 58 additions and 3 deletions

2
tty.c
View File

@ -221,7 +221,7 @@ tty_start_tty(struct tty *tty)
tty_puts(tty, "\033[?1000l\033[?1006l\033[?1005l");
if (tty_term_has(tty->term, TTYC_XT))
tty_puts(tty, "\033[c\033[>4;1m");
tty_puts(tty, "\033[c\033[>4;1m\033[?1004l");
tty->cx = UINT_MAX;
tty->cy = UINT_MAX;