summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@openbsd.org>2013-03-22 10:40:22 +0000
committerNicholas Marriott <nicm@openbsd.org>2013-03-22 10:40:22 +0000
commit79f5fe6f5bb7f24ab33ff365ff522c2c85df338d (patch)
treebbd1fa9059529f6afd4823e50152e993ae6351ab
parent2f5fa4ee9d8fface2e5375ff777320b9613e9b6a (diff)
Use tty_raw on stop, not tty_puts.
-rw-r--r--tty.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tty.c b/tty.c
index 6be902f4..1ee70d39 100644
--- a/tty.c
+++ b/tty.c
@@ -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));