diff options
Diffstat (limited to 'osdep')
-rw-r--r-- | osdep/terminal-unix.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/osdep/terminal-unix.c b/osdep/terminal-unix.c index 85908c551a..bc0dc8336b 100644 --- a/osdep/terminal-unix.c +++ b/osdep/terminal-unix.c @@ -488,7 +488,7 @@ int terminal_init(void) setsigaction(SIGTTIN, SIG_IGN, 0, true); setsigaction(SIGTTOU, SIG_IGN, 0, true); - // don't crash on SIGPIPE caused by semi-broken libraries + // get sane behavior, instead of hysteric UNIX-nonsense setsigaction(SIGPIPE, SIG_IGN, 0, true); getch2_poll(); |