aboutsummaryrefslogtreecommitdiff
path: root/tty.c
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2019-08-01 17:02:26 +0100
committerThomas Adam <thomas@xteddy.org>2019-08-01 17:02:26 +0100
commita2d7f380b298bd07cc2b9b4dc6e9a958804a90cc (patch)
treee022a8d6aa3252e455e4b733e9ec31cd1f2a350a /tty.c
parent11315c589a25237579d0ea7e046ca1cabaac79a3 (diff)
parentc4744620af18de13d4a2981b78992ae9ddfd937a (diff)
downloadrtmux-a2d7f380b298bd07cc2b9b4dc6e9a958804a90cc.tar.gz
rtmux-a2d7f380b298bd07cc2b9b4dc6e9a958804a90cc.tar.bz2
rtmux-a2d7f380b298bd07cc2b9b4dc6e9a958804a90cc.zip
Merge branch 'obsd-master'
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 ab1da9fd..024aef27 100644
--- a/tty.c
+++ b/tty.c
@@ -1879,6 +1879,8 @@ tty_invalidate(struct tty *tty)
tty->rlower = tty->rright = UINT_MAX;
if (tty->flags & TTY_STARTED) {
+ if (tty_use_margin(tty))
+ tty_puts(tty, "\033[?69h"); /* DECLRMM */
tty_putcode(tty, TTYC_SGR0);
tty->mode = ALL_MODES;