aboutsummaryrefslogtreecommitdiff
path: root/tty.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2013-02-22 07:23:11 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2013-02-22 07:23:11 +0000
commit4c9f9438ff977365394f903b5849611741924b9c (patch)
tree3d7c6b91bc16440dd7650e973cbe33646c1f6d5d /tty.c
parent8c50f625b0698e35ad183864e3baa4bb8679e0ae (diff)
downloadrtmux-4c9f9438ff977365394f903b5849611741924b9c.tar.gz
rtmux-4c9f9438ff977365394f903b5849611741924b9c.tar.bz2
rtmux-4c9f9438ff977365394f903b5849611741924b9c.zip
Add support for focus notifications when tmux pane changes, based on work by
Aaron Jensen.
Diffstat (limited to 'tty.c')
-rw-r--r--tty.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tty.c b/tty.c
index 1abaea4e..b5dcf6d3 100644
--- a/tty.c
+++ b/tty.c
@@ -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;