interp PoC: accept any key to exit

This commit is contained in:
nick black 2021-10-16 21:09:54 -04:00
parent 716482e8cc
commit 53b024ebac
No known key found for this signature in database
GPG Key ID: 5F43400C21CBFACC

View File

@ -112,7 +112,7 @@ int main(void){
ncinput ni;
do{
notcurses_getc_blocking(nc, &ni);
}while(ni.id != (uint32_t)-1 && ni.evtype != NCTYPE_RELEASE);
}while(ni.evtype == NCTYPE_RELEASE);
notcurses_stop(nc);
return EXIT_SUCCESS;