demo: move HUD down, right above FPS plot

This commit is contained in:
nick black 2020-07-29 06:30:51 -04:00
parent dde540b1da
commit aec5f79369
No known key found for this signature in database
GPG Key ID: 5F43400C21CBFACC

View File

@ -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;