mirror of https://github.com/adamdruppe/arsd.git
the buffered thing was breaking ctrl+c on the demo
This commit is contained in:
parent
000850256a
commit
5782378865
|
@ -2049,7 +2049,7 @@ struct RealTimeConsoleInput {
|
||||||
// it is the simplest thing that can possibly work. The alternative would be
|
// 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
|
// doing non-blocking reads and buffering in the nextRaw function (not a bad idea
|
||||||
// btw, just a bit more of a hassle).
|
// btw, just a bit more of a hassle).
|
||||||
while(timedCheckForInput(0)) {
|
while(timedCheckForInput_bypassingBuffer(0)) {
|
||||||
auto ne = readNextEventsHelper();
|
auto ne = readNextEventsHelper();
|
||||||
initial ~= ne;
|
initial ~= ne;
|
||||||
foreach(n; ne)
|
foreach(n; ne)
|
||||||
|
|
Loading…
Reference in New Issue