summaryrefslogtreecommitdiffstats
path: root/menu.c
diff options
context:
space:
mode:
authornicm <nicm>2023-08-08 07:41:04 +0000
committernicm <nicm>2023-08-08 07:41:04 +0000
commit1071ef8fc5bd5d2776dd6b413ce0535a0f81be65 (patch)
tree64572cf10aa29088f7f1f0564920216b96b4287f /menu.c
parent2b535bc173548a9a6d57a92c9f4f7c74bfae7709 (diff)
Extend the menu drawing function to support custom characters and
styles, from Alexis Hildebrandt.
Diffstat (limited to 'menu.c')
-rw-r--r--menu.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/menu.c b/menu.c
index 288030b2..dd9dcb41 100644
--- a/menu.c
+++ b/menu.c
@@ -203,7 +203,8 @@ menu_draw_cb(struct client *c, void *data,
screen_write_start(&ctx, s);
screen_write_clearscreen(&ctx, 8);
- screen_write_menu(&ctx, menu, md->choice, &gc);
+ screen_write_menu(&ctx, menu, md->choice, BOX_LINES_DEFAULT,
+ &grid_default_cell, &grid_default_cell, &gc);
screen_write_stop(&ctx);
for (i = 0; i < screen_size_y(&md->s); i++) {