diff --git a/src/input/input.cpp b/src/input/input.cpp index 94122e651..41d3b994d 100644 --- a/src/input/input.cpp +++ b/src/input/input.cpp @@ -198,7 +198,7 @@ void Tick(ncpp::NotCurses* nc, uint64_t sec) { void Ticker(ncpp::NotCurses* nc) { do{ - std::this_thread::sleep_for(std::chrono::milliseconds{1000}); + std::this_thread::sleep_for(std::chrono::milliseconds{100}); const uint64_t sec = (timenow_to_ns() - start) / NANOSECS_IN_SEC; Tick(nc, sec); }while(!done); diff --git a/src/lib/in.c b/src/lib/in.c index 622217944..f5e1d814f 100644 --- a/src/lib/in.c +++ b/src/lib/in.c @@ -1459,6 +1459,7 @@ pump_control_read(inputctx* ictx, unsigned char c){ ictx->numeric = 0; } ictx->state = STATE_NULL; + return 2; }else if(c >= 0x40 && c <= 0x7E){ ictx->state = STATE_NULL; if(c == 'c'){