demo: move HUD down, right above FPS plot

pull/837/head
nick black 4 years ago
parent dde540b1da
commit aec5f79369
No known key found for this signature in database
GPG Key ID: 5F43400C21CBFACC

@ -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…
Cancel
Save