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

Exit ncdu when losing input

parent d15fe8d0
Branches
Tags
No related merge requests found
...@@ -103,6 +103,8 @@ int input_handle(int wait) { ...@@ -103,6 +103,8 @@ int input_handle(int wait) {
} }
screen_draw(); screen_draw();
} }
if(errno == EPIPE || errno == EBADF)
return 1;
return 0; return 0;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment