pump_control_read: return 2 following XTSMGRAPHICS #2174

pull/2197/head
nick black 3 years ago committed by nick black
parent e12aceccce
commit 60ee94b4ca

@ -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);

@ -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'){

Loading…
Cancel
Save