From 57823788651a0f2d453c2766003133288e426881 Mon Sep 17 00:00:00 2001 From: "Adam D. Ruppe" Date: Mon, 30 Sep 2019 18:58:23 -0400 Subject: [PATCH] the buffered thing was breaking ctrl+c on the demo --- terminal.d | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/terminal.d b/terminal.d index 1572778..ce3e310 100644 --- a/terminal.d +++ b/terminal.d @@ -2049,7 +2049,7 @@ struct RealTimeConsoleInput { // it is the simplest thing that can possibly work. The alternative would be // doing non-blocking reads and buffering in the nextRaw function (not a bad idea // btw, just a bit more of a hassle). - while(timedCheckForInput(0)) { + while(timedCheckForInput_bypassingBuffer(0)) { auto ne = readNextEventsHelper(); initial ~= ne; foreach(n; ne)