diff --git a/Libraries/LibLine/Editor.cpp b/Libraries/LibLine/Editor.cpp index 470557e44b..de298b562c 100644 --- a/Libraries/LibLine/Editor.cpp +++ b/Libraries/LibLine/Editor.cpp @@ -1540,7 +1540,7 @@ Vector Editor::vt_dsr() do { auto nread = read(0, buf + length, 16 - length); if (nread < 0) { - if (errno == 0) { + if (errno == 0 || errno == EINTR) { // ???? continue; }