procroller: use notcurses_get() over notcurses_getc() #1686

pull/1988/head
nick black 3 years ago
parent 0d289958f9
commit 1597b25d39
No known key found for this signature in database
GPG Key ID: 5F43400C21CBFACC

@ -182,7 +182,6 @@ int xray_demo(struct notcurses* nc){
marsh.lplane = NULL;
marsh.dm = notcurses_check_pixel_support(nc) ? 0 : 0.5 * delaymultiplier;
int ret = -1;
// FIXME need do something about SIGINT here, which can leave us locked up
if(pthread_create(&tid1, NULL, xray_thread, NULL)){
goto err;
}

@ -72,7 +72,7 @@ int main(int argc, char** argv){
ncplane_set_fg_rgb(std, 0x00bcaa);
ncplane_printf_aligned(std, -1, NCALIGN_CENTER, "press any key to continue (%s)", *argv);
notcurses_render(nc);
notcurses_getc(nc, NULL, NULL, NULL);
notcurses_get(nc, NULL, NULL);
if(notcurses_stop(nc)){
return EXIT_FAILURE;
}

Loading…
Cancel
Save