ncmenu: always use NCPLANE_OPTION_FIXED #1958

This commit is contained in:
nick black 2021-07-20 16:02:58 -04:00
parent f9ebbcd80a
commit 8c7f047a05
No known key found for this signature in database
GPG Key ID: 5F43400C21CBFACC

View File

@ -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){