Add an option menu-selected-style to configure the currently selected

menu item, from Alexis Hildebrandt.
This commit is contained in:
nicm
2023-08-15 07:01:47 +00:00
parent 57837bbf67
commit b770a429c6
9 changed files with 73 additions and 49 deletions

View File

@ -963,7 +963,7 @@ mode_tree_display_menu(struct mode_tree_data *mtd, struct client *c, u_int x,
else
x = 0;
if (menu_display(menu, 0, 0, NULL, x, y, c, BOX_LINES_DEFAULT, NULL,
NULL, NULL, mode_tree_menu_callback, mtm) != 0)
NULL, NULL, NULL, mode_tree_menu_callback, mtm) != 0)
menu_free(menu);
}