bim: Mask VINTR, but don't set -ISIG?
This commit is contained in:
parent
3721644339
commit
462192cde4
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user