aboutsummaryrefslogtreecommitdiff
path: root/tty.c
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2020-01-13 10:01:27 +0000
committerThomas Adam <thomas@xteddy.org>2020-01-13 10:01:27 +0000
commit8457f54edcdfdf7b6e48a291808135258abfe5b8 (patch)
treeec28f5aff04e065ffb07447e3b8fb1730c307cb2 /tty.c
parent3e701309a4edb10b6092a4f4801fa50c3277afe9 (diff)
parent835a6c0cf088437e318783c96b142c7dc26c290f (diff)
downloadrtmux-8457f54edcdfdf7b6e48a291808135258abfe5b8.tar.gz
rtmux-8457f54edcdfdf7b6e48a291808135258abfe5b8.tar.bz2
rtmux-8457f54edcdfdf7b6e48a291808135258abfe5b8.zip
Merge branch 'obsd-master'
Diffstat (limited to 'tty.c')
-rw-r--r--tty.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/tty.c b/tty.c
index 2d4b4cc0..a1324528 100644
--- a/tty.c
+++ b/tty.c
@@ -327,8 +327,9 @@ tty_start_tty(struct tty *tty)
tty->flags |= TTY_FOCUS;
tty_puts(tty, "\033[?1004h");
}
- tty_puts(tty, "\033[c\033[1337n");
- }
+ tty_puts(tty, "\033[c\033[1337n"); /* DA and DSR */
+ } else
+ tty->flags |= (TTY_HAVEDA|TTY_HAVEDSR);
tty->flags |= TTY_STARTED;
tty_invalidate(tty);