fix up outro

pull/108/head
nick black 5 years ago
parent be5ce9051d
commit 738c590bfd
No known key found for this signature in database
GPG Key ID: 5F43400C21CBFACC

@ -44,6 +44,7 @@ outro(struct notcurses* nc){
return -1;
}
int rows, cols;
ncplane_erase(ncp);
ncplane_dim_yx(ncp, &rows, &cols);
int averr = 0;
struct ncvisual* ncv = ncplane_visual_open(ncp, "../tests/changes.jpg", &averr);
@ -61,7 +62,7 @@ outro(struct notcurses* nc){
const char str0[] = " ATL, baby! ATL! ";
const char str1[] = " much, much more is coming ";
const char str2[] = " hack on 💖 dank ";
int ybase = rows - 6;
int ybase = rows - 5;
if(ncplane_fg_rgb8(ncp, 0, 0, 0)){
return -1;
}

@ -338,7 +338,6 @@ int panelreel_demo(struct notcurses* nc){
close(efd);
return -1;
}
/*fadeout(w, FADE_MILLISECONDS);*/
while(tctxs){
kill_tablet(&tctxs);
}
@ -348,5 +347,8 @@ int panelreel_demo(struct notcurses* nc){
return -1;
}
close(efd);
if(notcurses_render(nc)){
return -1;
}
return 0;
}

@ -722,6 +722,7 @@ int panelreel_destroy(panelreel* preel){
panelreel_del(preel, t);
t = tmp;
}
ncplane_destroy(preel->p);
free(preel);
}
return ret;

Loading…
Cancel
Save