mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 11:28:12 +00:00
LibLine: It's okay to be interrupted while reading the DSR response
Fixes #4855.
This commit is contained in:
parent
9523bcbfe1
commit
d3f51ee5c3
1 changed files with 1 additions and 1 deletions
|
@ -1540,7 +1540,7 @@ Vector<size_t, 2> Editor::vt_dsr()
|
|||
do {
|
||||
auto nread = read(0, buf + length, 16 - length);
|
||||
if (nread < 0) {
|
||||
if (errno == 0) {
|
||||
if (errno == 0 || errno == EINTR) {
|
||||
// ????
|
||||
continue;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue