mirror of
https://github.com/dankamongmen/notcurses.git
synced 2024-10-31 15:20:13 +00:00
trans: put the legend on top to avoid FPS plot
This commit is contained in:
parent
78c2cef7e9
commit
cdd96af8df
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user