zoo demo: correct delaytime for spooling

pull/885/head
nick black 4 years ago
parent 8aa0986f7d
commit 7c373ecc3a
No known key found for this signature in database
GPG Key ID: 5F43400C21CBFACC

@ -275,7 +275,7 @@ riser_collect_input(struct notcurses* nc, const struct timespec* ts){
ns_to_timespec(timespec_to_ns(&now) + timespec_to_ns(ts), &deadline);
do{
ncinput ni;
char32_t key = demo_getc(nc, &demodelay, &ni);
char32_t key = demo_getc(nc, ts, &ni);
if(key == (char32_t)-1){
return -1;
}else if(key){

Loading…
Cancel
Save