aboutsummaryrefslogtreecommitdiff
path: root/tty.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2013-02-23 13:03:47 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2013-02-23 13:03:47 +0000
commit57eb334d5b989642c84b974908c43c729983d1b8 (patch)
tree5600670a3688454d211b34ff8d45419bcd06d94c /tty.c
parent5f904aa35002246ee1005e3849455ccbdc321781 (diff)
parentee0f8adfac76cdf21cfd2c0b503d8d66dcb883cc (diff)
downloadrtmux-57eb334d5b989642c84b974908c43c729983d1b8.tar.gz
rtmux-57eb334d5b989642c84b974908c43c729983d1b8.tar.bz2
rtmux-57eb334d5b989642c84b974908c43c729983d1b8.zip
Merge branch 'master' of ssh://git.code.sf.net/p/tmux/tmux-code
Diffstat (limited to 'tty.c')
-rw-r--r--tty.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tty.c b/tty.c
index b5dcf6d3..ab75d948 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\033[?1004l");
+ tty_puts(tty, "\033[c\033[>4;1m\033[?1004h");
tty->cx = UINT_MAX;
tty->cy = UINT_MAX;
@@ -284,7 +284,7 @@ tty_stop_tty(struct tty *tty)
tty_raw(tty, "\033[?1000l\033[?1006l\033[?1005l");
if (tty_term_has(tty->term, TTYC_XT))
- tty_raw(tty, "\033[>4m");
+ tty_raw(tty, "\033[>4m\033[?1004l");
tty_raw(tty, tty_term_string(tty->term, TTYC_RMCUP));