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.
This commit is contained in:
nicm 2023-04-25 09:24:44 +00:00
parent 48eba4c195
commit 551e0c36d9

2
tty.c
View File

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