diff options
author | pommicket <pommicket@gmail.com> | 2022-12-30 23:39:27 -0500 |
---|---|---|
committer | pommicket <pommicket@gmail.com> | 2022-12-30 23:39:27 -0500 |
commit | 25f6cd6f5ffb9ff34d9e22c38e9d72cdadce2dc9 (patch) | |
tree | 7f731a4098bd08fb0a301b3dfad7159a1a589374 /command.c | |
parent | 43bd0763959ecd8f8a835d09190b55ba6fab7d67 (diff) |
basic find usages
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'; |