bim: Mask VINTR, but don't set -ISIG?

This commit is contained in:
K. Lange 2018-10-05 22:25:28 +09:00
parent 3721644339
commit 462192cde4

View File

@ -1787,6 +1787,7 @@ void get_initial_termios(void) {
void set_unbuffered(void) {
struct termios new = old;
new.c_lflag &= (~ICANON & ~ECHO);
new.c_cc[VINTR] = 0;
tcsetattr(STDOUT_FILENO, TCSAFLUSH, &new);
}