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

Exit ncdu when losing input

parent d15fe8d0
No related branches found
No related tags found
No related merge requests found
......@@ -103,6 +103,8 @@ int input_handle(int wait) {
}
screen_draw();
}
if(errno == EPIPE || errno == EBADF)
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