iomenu

interactive text selection menu
Log | Files | Refs | README | LICENSE

commit 3d11052f21bd037d4ba92b875e8315016976dfc9
parent 486f6970c5a75f4108b91c49edf0a0089fe07bbe
Author: Josuah Demangeon <mail@josuah.net>
Date:   Wed, 11 Apr 2018 00:13:22 +0200

ISIG for ignoring Ctrl + C on BSDs

Diffstat:
Miomenu.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/iomenu.c b/iomenu.c @@ -357,7 +357,7 @@ set_terminal(void) perror("tcgetattr"); exit(EXIT_FAILURE); } - new.c_lflag &= ~(ICANON | ECHO | IEXTEN | IGNBRK); + new.c_lflag &= ~(ICANON | ECHO | IEXTEN | IGNBRK | ISIG); tcsetattr(ttyfd, TCSANOW, &new); }