diff --git a/src/main.c b/src/main.c index 4f12e63..e72c507 100644 --- a/src/main.c +++ b/src/main.c @@ -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; }