mirror of
https://github.com/QwenLM/qwen-code.git
synced 2025-12-20 08:47:44 +00:00
Co-authored-by: Jacob Richman <jacob314@gmail.com>
This commit is contained in:
@@ -373,17 +373,11 @@ export const InputPrompt: React.FC<InputPromptProps> = ({
|
||||
|
||||
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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user