diff options
Diffstat (limited to 'command.c')
-rw-r--r-- | command.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -293,7 +293,9 @@ void command_execute(Ted *ted, Command c, i64 argument) { if (ted->autocomplete.open) autocomplete_prev(ted); break; - + case CMD_FIND_USAGES: + usages_find(ted); + break; case CMD_UNDO: if (buffer) buffer_undo(buffer, argument); break; @@ -395,6 +397,7 @@ void command_execute(Ted *ted, Command c, i64 argument) { case CMD_ESCAPE: definition_cancel_lookup(ted); + usages_cancel_lookup(ted); if (*ted->error_shown) { // dismiss error box *ted->error_shown = '\0'; |