Use tty_raw on stop, not tty_puts.

This commit is contained in:
Nicholas Marriott 2013-03-22 10:40:22 +00:00
parent 2f5fa4ee9d
commit 79f5fe6f5b

2
tty.c
View File

@ -284,7 +284,7 @@ tty_stop_tty(struct tty *tty)
tty_raw(tty, "\033[?1000l\033[?1006l\033[?1005l"); tty_raw(tty, "\033[?1000l\033[?1006l\033[?1005l");
if (tty_term_has(tty->term, TTYC_XT)) 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)); tty_raw(tty, tty_term_string(tty->term, TTYC_RMCUP));