From c632ec8b03ac5b459da9ccb041b9fca19252f69b Mon Sep 17 00:00:00 2001 From: Lee Won Jun Date: Sun, 10 Aug 2025 07:28:28 +0900 Subject: [#5356] Minor fix: Remove duplicate binding and add complete navigation command (#5884) Co-authored-by: Jacob Richman --- packages/cli/src/ui/components/InputPrompt.tsx | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'packages/cli/src/ui/components/InputPrompt.tsx') diff --git a/packages/cli/src/ui/components/InputPrompt.tsx b/packages/cli/src/ui/components/InputPrompt.tsx index 7eb1905d..f53d255f 100644 --- a/packages/cli/src/ui/components/InputPrompt.tsx +++ b/packages/cli/src/ui/components/InputPrompt.tsx @@ -373,17 +373,11 @@ export const InputPrompt: React.FC = ({ if (completion.showSuggestions) { if (completion.suggestions.length > 1) { - if ( - keyMatchers[Command.NAVIGATION_UP](key) || - keyMatchers[Command.HISTORY_UP](key) - ) { + if (keyMatchers[Command.COMPLETION_UP](key)) { completion.navigateUp(); return; } - if ( - keyMatchers[Command.NAVIGATION_DOWN](key) || - keyMatchers[Command.HISTORY_DOWN](key) - ) { + if (keyMatchers[Command.COMPLETION_DOWN](key)) { completion.navigateDown(); return; } -- cgit v1.2.3