mirror of
https://github.com/dankamongmen/notcurses.git
synced 2024-11-20 03:25:47 +00:00
demo: move HUD down, right above FPS plot
This commit is contained in:
parent
dde540b1da
commit
aec5f79369
@ -322,7 +322,7 @@ struct ncplane* hud_create(struct notcurses* nc){
|
||||
}
|
||||
int dimx, dimy;
|
||||
notcurses_term_dim_yx(nc, &dimy, &dimx);
|
||||
int yoffset = 13;
|
||||
int yoffset = dimy - (7 + HUD_ROWS);
|
||||
struct ncplane* n = ncplane_new(nc, HUD_ROWS, HUD_COLS, yoffset, 1, NULL);
|
||||
if(n == NULL){
|
||||
return NULL;
|
||||
|
Loading…
Reference in New Issue
Block a user