Check the right flags member, reported by someone in GitHub issue 4634.

This commit is contained in:
nicm
2025-09-12 08:46:29 +00:00
parent 50dafd6187
commit 7516f8e94f

2
tty.c
View File

@@ -390,7 +390,7 @@ tty_send_requests(struct tty *tty)
return;
if (tty->term->flags & TERM_VT100LIKE) {
if (~tty->term->flags & TTY_HAVEDA)
if (~tty->flags & TTY_HAVEDA)
tty_puts(tty, "\033[c");
if (~tty->flags & TTY_HAVEDA2)
tty_puts(tty, "\033[>c");