diff options
author | nicm <nicm> | 2019-08-01 11:45:34 +0000 |
---|---|---|
committer | nicm <nicm> | 2019-08-01 11:45:34 +0000 |
commit | 49bf7dc77e5372a8ec404d1fc2e12b8f68a256d5 (patch) | |
tree | 0c633edbcd655ff6a3c6518c2c4a947a384a0037 | |
parent | 2db5f9c21528e9a604af6e5d82689af93028d28b (diff) |
xterm 348 now disables margins when resized, so send DECLRMM again.
-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; |