Exit ncdu when losing input
Ought to fix https://dev.yorhel.nl/ncdu/bug/115
Этот коммит содержится в:
родитель
d15fe8d08e
Коммит
cbe24d6c8f
@ -103,6 +103,8 @@ int input_handle(int wait) {
|
|||||||
}
|
}
|
||||||
screen_draw();
|
screen_draw();
|
||||||
}
|
}
|
||||||
|
if(errno == EPIPE || errno == EBADF)
|
||||||
|
return 1;
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user