From 462192cde42fcb74751cd1e419407ad5b45e03a5 Mon Sep 17 00:00:00 2001 From: "K. Lange" Date: Fri, 5 Oct 2018 22:25:28 +0900 Subject: [PATCH] bim: Mask VINTR, but don't set -ISIG? --- apps/bim.c | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/bim.c b/apps/bim.c index e3b77958..2ae80a72 100644 --- a/apps/bim.c +++ b/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); }