summaryrefslogtreecommitdiff
path: root/command.c
diff options
context:
space:
mode:
authorLeo Tenenbaum <pommicket@gmail.com>2021-03-02 16:58:54 -0500
committerLeo Tenenbaum <pommicket@gmail.com>2021-03-02 17:00:50 -0500
commit64bfab15c19ef0e0055b7b80b315a872b8946ce4 (patch)
tree127262140ebe8008c10e16e5009e1b8257bc9ced /command.c
parent3600ff8d24ea87a0b63e4931010e0dd52232246c (diff)
start command selector
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) {