aboutsummaryrefslogtreecommitdiff
path: root/tty.c
diff options
context:
space:
mode:
Diffstat (limited to 'tty.c')
-rw-r--r--tty.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tty.c b/tty.c
index 06ae6d31..4090a115 100644
--- a/tty.c
+++ b/tty.c
@@ -340,6 +340,7 @@ tty_start_tty(struct tty *tty)
tty->flags |= TTY_FOCUS;
tty_puts(tty, "\033[?1004h");
}
+ tty_puts(tty, "\033[?7727h");
}
evtimer_set(&tty->start_timer, tty_start_timer_callback, tty);
@@ -426,6 +427,7 @@ tty_stop_tty(struct tty *tty)
tty->flags &= ~TTY_FOCUS;
tty_raw(tty, "\033[?1004l");
}
+ tty_raw(tty, "\033[?7727l");
}
if (tty_use_margin(tty))