Skip to content
Snippets Groups Projects
Commit 888bd663 authored by Yorhel's avatar Yorhel
Browse files

Also quit on EIO from getch()

Fixes #141
parent 8d582973
No related branches found
No related tags found
No related merge requests found
......@@ -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;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment