/* This is illegal, so turn off the echo here, and fake it
when we read the characters */
flags &= ~ENABLE_ECHO_INPUT;
- if ((t->c_lflag & ISIG) && !(t->c_iflag & IGNBRK))
+ if (t->c_lflag & ISIG)
flags |= ENABLE_PROCESSED_INPUT;
break;
}
}
WaitForSingleObject (input_mutex, INFINITE);
- if ((ti.c_lflag & ISIG) && !(ti.c_iflag & IGNBRK)
- && !(ti.c_lflag & NOFLSH) && memchr (buf, '\003', nlen))
+ if ((ti.c_lflag & ISIG) && !(ti.c_lflag & NOFLSH)
+ && memchr (buf, '\003', nlen))
get_ttyp ()->discard_input = true;
DWORD n;
WriteFile (to_slave, buf, nlen, &n, NULL);
/* This is illegal, so turn off the echo here, and fake it
when we read the characters */
mode &= ~ENABLE_ECHO_INPUT;
- if ((t.c_lflag & ISIG) && !(t.c_iflag & IGNBRK))
+ if (t.c_lflag & ISIG)
mode |= ENABLE_PROCESSED_INPUT;
SetConsoleMode (hpConIn, mode);
/* Set output mode */