diff options
author | nicm <nicm> | 2023-08-08 08:08:47 +0000 |
---|---|---|
committer | nicm <nicm> | 2023-08-08 08:08:47 +0000 |
commit | dee72ed41f54d9ba12b1ce20c18476d9276a876d (patch) | |
tree | a0b8e2c6014a32f750727233313bae0d74ac2837 /mode-tree.c | |
parent | 1071ef8fc5bd5d2776dd6b413ce0535a0f81be65 (diff) |
Add options and flags for menu styles similar to those existing for
popups, from Alexis Hildebrandt. GitHub issue 3650.
Diffstat (limited to 'mode-tree.c')
-rw-r--r-- | mode-tree.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mode-tree.c b/mode-tree.c index 9d465e7b..5a213df4 100644 --- a/mode-tree.c +++ b/mode-tree.c @@ -962,8 +962,8 @@ mode_tree_display_menu(struct mode_tree_data *mtd, struct client *c, u_int x, x -= (menu->width + 4) / 2; else x = 0; - if (menu_display(menu, 0, 0, NULL, x, y, c, NULL, - mode_tree_menu_callback, mtm) != 0) + if (menu_display(menu, 0, 0, NULL, x, y, c, BOX_LINES_DEFAULT, NULL, + NULL, NULL, mode_tree_menu_callback, mtm) != 0) menu_free(menu); } |