mirror of
https://github.com/tmux/tmux.git
synced 2025-09-07 03:48:20 +00:00
Remove menu_create_from_items, I thought I would use it for some later
work but I don't need it.
This commit is contained in:
@@ -79,7 +79,7 @@ cmd_display_menu_exec(struct cmd *self, struct cmdq_item *item)
|
||||
title = format_single(NULL, args_get(args, 'T'), c, s, wl, wp);
|
||||
else
|
||||
title = xstrdup("");
|
||||
menu = menu_create_from_string(string, c, fs, title);
|
||||
menu = menu_create(string, c, fs, title);
|
||||
free(title);
|
||||
if (menu == NULL) {
|
||||
cmdq_error(item, "invalid menu %s", string);
|
||||
|
Reference in New Issue
Block a user