summaryrefslogtreecommitdiff
path: root/command.c
diff options
context:
space:
mode:
authorpommicket <pommicket@gmail.com>2023-08-14 22:57:32 -0300
committerpommicket <pommicket@gmail.com>2023-08-14 22:57:32 -0300
commit50ecb07c724091ea2556fda8738d7500a77b0f9b (patch)
tree7fa3e7bcde10f35c39860e9982e24a833cf5d4ef /command.c
parentefe5ae8cec7221779b9a6395eeb9b10b8974dd44 (diff)
selector search working again
Diffstat (limited to 'command.c')
-rw-r--r--command.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/command.c b/command.c
index c017add..598e0d2 100644
--- a/command.c
+++ b/command.c
@@ -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);