[ncplayer] nonblocking input check even when behind clockwise

pull/2159/head
nick black 3 years ago
parent 1a3733f73e
commit 3610ce26d6
No known key found for this signature in database
GPG Key ID: 5F43400C21CBFACC

@ -101,7 +101,7 @@ auto perframe(struct ncvisual* ncv, struct ncvisual_options* vopts,
ns_to_timespec(absnow - nsnow, &interval);
keyp = nc.get(&interval, &ni);
}else{
keyp = nc.get();
keyp = nc.getc(false, &ni);
}
if(keyp == (uint32_t)-1){
break;

Loading…
Cancel
Save