xterm 348 now disables margins when resized, so send DECLRMM again.

pull/1869/head
nicm 2019-08-01 11:45:34 +00:00 committed by Nicholas Marriott
parent b8b865fb17
commit 26f2740110
1 changed files with 2 additions and 0 deletions

2
tty.c
View File

@ -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;