mirror of
https://github.com/mawww/kakoune.git
synced 2024-12-18 08:51:46 +03:00
Merge remote-tracking branch 'lenormf/fix-menu'
This commit is contained in:
commit
d0709d5f56
@ -1931,6 +1931,9 @@ const CommandDesc menu_cmd = {
|
||||
Vector<String> select_cmds;
|
||||
for (int i = 0; i < count; i += modulo)
|
||||
{
|
||||
if (parser[i].empty())
|
||||
throw runtime_error(format("entry #{} is empty", i+1));
|
||||
|
||||
choices.push_back(markup ? parse_display_line(parser[i], context.faces())
|
||||
: DisplayLine{ parser[i], {} });
|
||||
commands.push_back(parser[i+1]);
|
||||
|
Loading…
Reference in New Issue
Block a user