mirror of
https://github.com/dankamongmen/notcurses
synced 2025-03-12 18:49:03 -04:00
xray: adapt to menu
This commit is contained in:
parent
328426c3e7
commit
d55f1b78d8
@ -36,8 +36,7 @@ perframecb(struct notcurses* nc, struct ncvisual* ncv __attribute__ ((unused)),
|
||||
if(n == NULL){
|
||||
struct ncplane* nstd = notcurses_stdplane(nc);
|
||||
ncplane_dim_yx(nstd, &dimy, &dimx);
|
||||
//y = dimy - sizeof(leg) / sizeof(*leg) - 1;
|
||||
y = 1;
|
||||
y = dimy - sizeof(leg) / sizeof(*leg);
|
||||
n = ncplane_new(nc, sizeof(leg) / sizeof(*leg), dimx, y, 0, NULL);
|
||||
if(n == NULL){
|
||||
return -1;
|
||||
|
Loading…
x
Reference in New Issue
Block a user