mirror of
https://github.com/tmux/tmux.git
synced 2024-12-14 10:58:48 +00:00
xterm 348 now disables margins when resized, so send DECLRMM again.
This commit is contained in:
parent
b8b865fb17
commit
26f2740110
2
tty.c
2
tty.c
@ -1879,6 +1879,8 @@ tty_invalidate(struct tty *tty)
|
|||||||
tty->rlower = tty->rright = UINT_MAX;
|
tty->rlower = tty->rright = UINT_MAX;
|
||||||
|
|
||||||
if (tty->flags & TTY_STARTED) {
|
if (tty->flags & TTY_STARTED) {
|
||||||
|
if (tty_use_margin(tty))
|
||||||
|
tty_puts(tty, "\033[?69h"); /* DECLRMM */
|
||||||
tty_putcode(tty, TTYC_SGR0);
|
tty_putcode(tty, TTYC_SGR0);
|
||||||
|
|
||||||
tty->mode = ALL_MODES;
|
tty->mode = ALL_MODES;
|
||||||
|
Loading…
Reference in New Issue
Block a user