diff options
author | Yorhel <git@yorhel.nl> | 2020-04-01 16:54:46 +0200 |
---|---|---|
committer | Yorhel <git@yorhel.nl> | 2020-04-01 16:54:57 +0200 |
commit | 888bd663c681e579950fb9a0362761960708e9b6 (patch) | |
tree | e8e3d5d6454015cee7c318955413c052d393e3c6 | |
parent | 8d582973286e41684b4b5520c85586424091ee16 (diff) |
Also quit on EIO from getch()
Fixes #141
-rw-r--r-- | src/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -106,7 +106,7 @@ int input_handle(int wait) { } screen_draw(); } - if(errno == EPIPE || errno == EBADF) + if(errno == EPIPE || errno == EBADF || errno == EIO) return 1; return 0; } |