summaryrefslogtreecommitdiff
path: root/command.c
diff options
context:
space:
mode:
Diffstat (limited to 'command.c')
-rw-r--r--command.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/command.c b/command.c
index 274d8c8..e2673a6 100644
--- a/command.c
+++ b/command.c
@@ -215,7 +215,10 @@ void command_execute(Ted *ted, Command c, i64 argument) {
case CMD_PASTE:
if (buffer) buffer_paste(buffer);
break;
-
+ case CMD_COMMAND_SELECTOR:
+ menu_open(ted, MENU_COMMAND_SELECTOR);
+ break;
+
case CMD_TEXT_SIZE_INCREASE: {
i64 new_text_size = settings->text_size + argument;
if (new_text_size >= TEXT_SIZE_MIN && new_text_size <= TEXT_SIZE_MAX) {