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

@ -733,7 +733,7 @@ screen_write_menu(struct screen_write_ctx *ctx, struct menu *menu, int choice,
continue;
}
format_draw(ctx, gc, width, name, NULL, gc == choice_gc);
format_draw(ctx, gc, width, name, NULL, 0);
gc = &default_gc;
}