Windows: Fix infinite loop when piping to cling with < operator.
This commit is contained in:
parent
aad084a75a
commit
329de59275
@ -188,7 +188,10 @@ namespace textinput {
|
||||
case ERROR_BROKEN_PIPE:
|
||||
break;
|
||||
}
|
||||
NRead = 0;
|
||||
}
|
||||
}
|
||||
if (NRead == 0) {
|
||||
in.SetExtended(InputData::kEIEOF);
|
||||
return true;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user