diff options
author | Leo Tenenbaum <pommicket@gmail.com> | 2021-03-03 15:09:49 -0500 |
---|---|---|
committer | Leo Tenenbaum <pommicket@gmail.com> | 2021-03-03 15:09:49 -0500 |
commit | a1646d84127a199fdacb6c5500d96e8829ebe8c1 (patch) | |
tree | eb7d59e50813108105a5bc4539191a3b008a320d /command.c | |
parent | d5488ef5c47878e04045a91d204cf1ccbdd9cd05 (diff) |
:shell, bugfixes
Diffstat (limited to 'command.c')
-rw-r--r-- | command.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -115,6 +115,8 @@ void command_execute(Ted *ted, Command c, i64 argument) { } else if (buffer) { if (buffer->selection) buffer_dedent_selection(buffer); + else + buffer_dedent_cursor_line(buffer); } break; case CMD_NEWLINE: @@ -319,6 +321,10 @@ void command_execute(Ted *ted, Command c, i64 argument) { case CMD_BUILD_PREV_ERROR: build_prev_error(ted); break; + case CMD_SHELL: + menu_open(ted, MENU_SHELL); + break; + case CMD_GOTO_DEFINITION: menu_open(ted, MENU_GOTO_DEFINITION); break; |