trans: put the legend on top to avoid FPS plot

This commit is contained in:
nick black 2020-06-28 01:44:23 -04:00
parent 78c2cef7e9
commit cdd96af8df
No known key found for this signature in database
GPG Key ID: 5F43400C21CBFACC

View File

@ -30,7 +30,7 @@ legend(struct notcurses* nc, const char* msg){
notcurses_term_dim_yx(nc, &dimy, &dimx);
// FIXME replace with ncplane_new_aligned()
struct ncplane* n = ncplane_aligned(notcurses_stdplane(nc), 3,
strlen(msg) + 4, dimy - 4,
strlen(msg) + 4, 3,
NCALIGN_CENTER, NULL);
if(n == NULL){
return NULL;