+ getmaxyx(menu->menu_win, height, width);
+
+ /* create a subwin (also prob free old subwin?) */
+ menu->max_height = height-MENU_PAD_TOP-MENU_PAD_BOTTOM;
+ menu->max_width = width-MENU_PAD_LEFT-MENU_PAD_RIGHT;
+ menu->sub_win = derwin(
+ menu->menu_win,
+ menu->max_height,
+ menu->max_width,
+ MENU_PAD_TOP,
+ MENU_PAD_LEFT
+ );