diff options
author | Leo Tenenbaum <pommicket@gmail.com> | 2021-02-07 19:08:17 -0500 |
---|---|---|
committer | Leo Tenenbaum <pommicket@gmail.com> | 2021-02-07 19:08:17 -0500 |
commit | e802f33329f5c9c2a0630693d42c737d4b75b409 (patch) | |
tree | f8be266956a39882c6aa53b978ce25ff9b3dfdef /command.c | |
parent | 4bfae2f646237d21d2ab2714241fe5273759526c (diff) |
improved text rendering, started find
Diffstat (limited to 'command.c')
-rw-r--r-- | command.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -251,6 +251,12 @@ void command_execute(Ted *ted, Command c, i64 argument) { if (ted->active_node) node_tab_switch(ted, ted->active_node, argument); break; + case CMD_FIND: + ted->find = true; + buffer_clear(&ted->find_buffer); + ted->active_buffer = &ted->find_buffer; + break; + case CMD_ESCAPE: if (*ted->error_shown) { // dismiss error box |