diff options
author | Leo Tenenbaum <pommicket@gmail.com> | 2021-03-02 16:58:54 -0500 |
---|---|---|
committer | Leo Tenenbaum <pommicket@gmail.com> | 2021-03-02 17:00:50 -0500 |
commit | 64bfab15c19ef0e0055b7b80b315a872b8946ce4 (patch) | |
tree | 127262140ebe8008c10e16e5009e1b8257bc9ced /command.c | |
parent | 3600ff8d24ea87a0b63e4931010e0dd52232246c (diff) |
start command selector
Diffstat (limited to 'command.c')
-rw-r--r-- | command.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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) { |