demo-view: don't exit on spurious wakeup

pull/217/head
nick black 5 years ago
parent 2601fe9191
commit 53efe2bd1f
No known key found for this signature in database
GPG Key ID: 5F43400C21CBFACC

@ -8,7 +8,7 @@ watch_for_keystroke(struct notcurses* nc, struct ncvisual* ncv __attribute__ ((u
if((w = demo_getc_nblock(NULL)) != (wchar_t)-1){
if(w == NCKEY_RESIZE){
// FIXME resize that sumbitch
}else{
}else if(w){
return 1;
}
}

Loading…
Cancel
Save