diff options
author | nicm <nicm> | 2019-08-01 11:45:34 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2019-08-01 18:52:33 +0100 |
commit | 26f274011096b9eacfd2753d8f7afcb63e796ab9 (patch) | |
tree | 1a97db5a4a510a58e9a1aec7d54486b99fda10b3 /tty.c | |
parent | b8b865fb17caba880b1c178f8c0bdb855cfe98c8 (diff) |
xterm 348 now disables margins when resized, so send DECLRMM again.
Diffstat (limited to 'tty.c')
-rw-r--r-- | tty.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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; |