mirror of
https://github.com/dankamongmen/notcurses.git
synced 2024-11-02 09:40:15 +00:00
ncmenu: always use NCPLANE_OPTION_FIXED #1958
This commit is contained in:
parent
f9ebbcd80a
commit
8c7f047a05
@ -372,6 +372,7 @@ ncmenu* ncmenu_create(ncplane* n, const ncmenu_options* opts){
|
|||||||
.userptr = ret,
|
.userptr = ret,
|
||||||
.name = "menu",
|
.name = "menu",
|
||||||
.resizecb = resize_menu,
|
.resizecb = resize_menu,
|
||||||
|
.flags = NCPLANE_OPTION_FIXED,
|
||||||
};
|
};
|
||||||
ret->ncp = ncplane_create(n, &nopts);
|
ret->ncp = ncplane_create(n, &nopts);
|
||||||
if(ret->ncp){
|
if(ret->ncp){
|
||||||
|
Loading…
Reference in New Issue
Block a user