mirror of
https://github.com/tmux/tmux.git
synced 2025-09-01 20:57:00 +00:00
Extend the menu drawing function to support custom characters and
styles, from Alexis Hildebrandt.
This commit is contained in:
3
menu.c
3
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++) {
|
||||
|
Reference in New Issue
Block a user