fix mistake

This commit is contained in:
Adam D. Ruppe 2019-08-31 09:32:38 -04:00
parent bd189d4a2b
commit 139b052c75
1 changed files with 1 additions and 1 deletions

View File

@ -1708,7 +1708,7 @@ struct RealTimeConsoleInput {
/// Check for input, waiting no longer than the number of milliseconds /// Check for input, waiting no longer than the number of milliseconds
bool timedCheckForInput(int milliseconds) { bool timedCheckForInput(int milliseconds) {
if(inputQueue.length || timedCheckForInput_bypassingBuffer(timeout)) if(inputQueue.length || timedCheckForInput_bypassingBuffer(milliseconds))
return true; return true;
version(Posix) version(Posix)
if(interrupted || windowSizeChanged || hangedUp) if(interrupted || windowSizeChanged || hangedUp)