From 762e149345312bfa880820f3cba87602970aa5e3 Mon Sep 17 00:00:00 2001 From: "H. S. Teoh" Date: Sat, 31 Aug 2019 06:25:55 -0700 Subject: [PATCH] Fix issue 211 (timeout compile error) Not sure whether this is the right fix, but seems to be. --- 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)