From e1d1c6f2bcc62114e48285247627aa2411aca829 Mon Sep 17 00:00:00 2001 From: yabu76 Date: Mon, 19 Jan 2026 22:48:19 +0900 Subject: [PATCH] Fix incorrect condition for clearing input map and soft-flow in raw mode --- src/tty.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/tty.c b/src/tty.c index 3cf6628..44ea558 100644 --- a/src/tty.c +++ b/src/tty.c @@ -1710,11 +1710,8 @@ void tty_configure(void) /* Create raw-mode configuration */ memcpy(&tio_raw, &tio, sizeof(tio_raw)); - if (option.flow == FLOW_SOFT) - { - tio_raw.c_iflag &= ~(IXON | IXOFF | IXANY); - tio_raw.c_iflag &= ~(INLCR | IGNCR | ICRNL); - } + tio_raw.c_iflag &= ~(IXON | IXOFF | IXANY); + tio_raw.c_iflag &= ~(INLCR | IGNCR | ICRNL); } void tty_reconfigure(void)