mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-03-17 09:30:58 -07:00
feat(cli):suggestion-navigation-shortcut (#3641)
Co-authored-by: N. Taylor Mullen <ntaylormullen@google.com>
This commit is contained in:
committed by
GitHub
parent
b4d00ab4fb
commit
f7b4e74932
@@ -320,11 +320,11 @@ export const InputPrompt: React.FC<InputPromptProps> = ({
|
||||
|
||||
if (completion.showSuggestions) {
|
||||
if (completion.suggestions.length > 1) {
|
||||
if (key.name === 'up') {
|
||||
if (key.name === 'up' || (key.ctrl && key.name === 'p')) {
|
||||
completion.navigateUp();
|
||||
return;
|
||||
}
|
||||
if (key.name === 'down') {
|
||||
if (key.name === 'down' || (key.ctrl && key.name === 'n')) {
|
||||
completion.navigateDown();
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user