Fix incorrect condition for clearing input map and soft-flow in raw mode

This commit is contained in:
yabu76 2026-01-19 22:48:19 +09:00
parent 445a21b807
commit e1d1c6f2bc

View file

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