mirror of
https://github.com/tmate-io/tmate.git
synced 2024-12-18 21:00:40 +01:00
Use tty_raw on stop, not tty_puts.
This commit is contained in:
parent
37d34b6b83
commit
2a91025581
2
tty.c
2
tty.c
@ -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));
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user