diff --git a/src/demo/hud.c b/src/demo/hud.c index 9b00d7eb6..bd1382ba3 100644 --- a/src/demo/hud.c +++ b/src/demo/hud.c @@ -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;