diff options
author | nicm <nicm> | 2023-04-25 09:24:44 +0000 |
---|---|---|
committer | nicm <nicm> | 2023-04-25 09:24:44 +0000 |
commit | 551e0c36d95b1a9de1febf8f062fdc9d64b682df (patch) | |
tree | 650451b790ae3bf740c59ee988b3f172f9612426 /tty.c | |
parent | 48eba4c195165fb0f51afeb8b1eb56739b31431d (diff) |
Invalidate cached tty state after changing features since they may
change what the terminal can do and need mouse sequences or similar to
be sent again, GitHub issue 3513.
Diffstat (limited to 'tty.c')
-rw-r--r-- | tty.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -482,6 +482,8 @@ tty_update_features(struct tty *tty) tty_puts(tty, tty_term_string(tty->term, TTYC_ENFCS)); if (tty->term->flags & TERM_VT100LIKE) tty_puts(tty, "\033[?7727h"); + + tty_invalidate(tty); } void |