summaryrefslogtreecommitdiff
path: root/menu.c
diff options
context:
space:
mode:
authorLeo Tenenbaum <pommicket@gmail.com>2021-04-20 14:51:50 -0400
committerLeo Tenenbaum <pommicket@gmail.com>2021-04-20 14:51:50 -0400
commita57a9682e74ff3609acb2ca6697fc6fa94c23fb6 (patch)
treebbe848dd7e5c7ae259fbcfdf3253240bc564c8d8 /menu.c
parentf90d98c3c451aa5be2979ff05863b5aa8bee9336 (diff)
:set-language, various other little things
Diffstat (limited to 'menu.c')
-rw-r--r--menu.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/menu.c b/menu.c
index d363b37..6977552 100644
--- a/menu.c
+++ b/menu.c
@@ -275,6 +275,7 @@ static void menu_update(Ted *ted) {
}
}
selector->n_entries = (u32)(entry - entries);
+ selector_sort_entries_by_name(selector);
}
char *chosen_command = selector_update(ted, &ted->command_selector);