diff options
author | pommicket <pommicket@gmail.com> | 2023-08-14 22:57:32 -0300 |
---|---|---|
committer | pommicket <pommicket@gmail.com> | 2023-08-14 22:57:32 -0300 |
commit | 50ecb07c724091ea2556fda8738d7500a77b0f9b (patch) | |
tree | 7fa3e7bcde10f35c39860e9982e24a833cf5d4ef /command.c | |
parent | efe5ae8cec7221779b9a6395eeb9b10b8974dd44 (diff) |
selector search working again
Diffstat (limited to 'command.c')
-rw-r--r-- | command.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -202,14 +202,14 @@ void command_execute_ex(Ted *ted, Command c, const CommandArgument *full_argumen autocomplete_close(ted); break; case CMD_UP: - if (ted->selector_open) selector_up(ted, ted->selector_open, argument); + if (ted->selector_open) selector_up(ted, ted->selector_open); else if (menu_is_open(ted, MENU_SHELL) && buffer == ted->line_buffer) menu_shell_up(ted); else if (buffer) buffer_cursor_move_up(buffer, argument); autocomplete_close(ted); break; case CMD_DOWN: - if (ted->selector_open) selector_down(ted, ted->selector_open, argument); + if (ted->selector_open) selector_down(ted, ted->selector_open); else if (menu_is_open(ted, MENU_SHELL) && buffer == ted->line_buffer) menu_shell_down(ted); else if (buffer) buffer_cursor_move_down(buffer, argument); |