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

This commit is contained in:
nicm 2019-08-01 11:45:34 +00:00 committed by Nicholas Marriott
parent b8b865fb17
commit 26f2740110

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;