|
|
@ -36,8 +36,7 @@ perframecb(struct notcurses* nc, struct ncvisual* ncv __attribute__ ((unused)),
|
|
|
|
if(n == NULL){
|
|
|
|
if(n == NULL){
|
|
|
|
struct ncplane* nstd = notcurses_stdplane(nc);
|
|
|
|
struct ncplane* nstd = notcurses_stdplane(nc);
|
|
|
|
ncplane_dim_yx(nstd, &dimy, &dimx);
|
|
|
|
ncplane_dim_yx(nstd, &dimy, &dimx);
|
|
|
|
//y = dimy - sizeof(leg) / sizeof(*leg) - 1;
|
|
|
|
y = dimy - sizeof(leg) / sizeof(*leg);
|
|
|
|
y = 1;
|
|
|
|
|
|
|
|
n = ncplane_new(nc, sizeof(leg) / sizeof(*leg), dimx, y, 0, NULL);
|
|
|
|
n = ncplane_new(nc, sizeof(leg) / sizeof(*leg), dimx, y, 0, NULL);
|
|
|
|
if(n == NULL){
|
|
|
|
if(n == NULL){
|
|
|
|
return -1;
|
|
|
|
return -1;
|
|
|
|