From 139b052c75c9bc7bf8d44225f5974552ee7e96c3 Mon Sep 17 00:00:00 2001 From: "Adam D. Ruppe" Date: Sat, 31 Aug 2019 09:32:38 -0400 Subject: [PATCH] fix mistake --- terminal.d | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/terminal.d b/terminal.d index b60649a..1572778 100644 --- a/terminal.d +++ b/terminal.d @@ -1708,7 +1708,7 @@ struct RealTimeConsoleInput { /// Check for input, waiting no longer than the number of milliseconds bool timedCheckForInput(int milliseconds) { - if(inputQueue.length || timedCheckForInput_bypassingBuffer(timeout)) + if(inputQueue.length || timedCheckForInput_bypassingBuffer(milliseconds)) return true; version(Posix) if(interrupted || windowSizeChanged || hangedUp)