Browse Source

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

K. Lange 2 years ago
parent
commit
462192cde4
1 changed files with 1 additions and 0 deletions
  1. 1 0
      apps/bim.c

+ 1 - 0
apps/bim.c

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