Use tty_raw on stop, not tty_puts.

This commit is contained in:
Nicholas Marriott 2013-02-18 17:35:53 +00:00
parent 37d34b6b83
commit 2a91025581

2
tty.c
View File

@ -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_puts(tty, "\033[>4m");
tty_raw(tty, "\033[>4m");
tty_raw(tty, tty_term_string(tty->term, TTYC_RMCUP));