resize PoC: restore bottom stanza

pull/848/head
nick black 4 years ago committed by Nick Black
parent 886255e941
commit fe904cc8da

@ -57,9 +57,7 @@ int main(int argc, char** argv){
if(top > bot){ if(top > bot){
break; break;
} }
/*
// one from bottom // one from bottom
sleep(1);
if(ncplane_resize(ntarg, 0, 0, bot - top, dimx, 0, 0, bot - top, dimx)){ if(ncplane_resize(ntarg, 0, 0, bot - top, dimx, 0, 0, bot - top, dimx)){
goto err; goto err;
} }
@ -67,7 +65,6 @@ int main(int argc, char** argv){
if(notcurses_render(nc)){ if(notcurses_render(nc)){
goto err; goto err;
} }
*/
} }
return notcurses_stop(nc) || failed ? EXIT_FAILURE : EXIT_SUCCESS; return notcurses_stop(nc) || failed ? EXIT_FAILURE : EXIT_SUCCESS;

Loading…
Cancel
Save