mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-05-14 22:02:59 -07:00
refactor(cli): keyboard handling and AskUserDialog (#17414)
This commit is contained in:
@@ -214,8 +214,15 @@ export function useTabbedNavigation({
|
||||
}
|
||||
}
|
||||
|
||||
if (enableTabKey && key.name === 'tab' && !key.shift) {
|
||||
goToNextTab();
|
||||
if (enableTabKey) {
|
||||
if (keyMatchers[Command.DIALOG_NEXT](key)) {
|
||||
goToNextTab();
|
||||
return;
|
||||
}
|
||||
if (keyMatchers[Command.DIALOG_PREV](key)) {
|
||||
goToPrevTab();
|
||||
return;
|
||||
}
|
||||
}
|
||||
},
|
||||
[
|
||||
|
||||
Reference in New Issue
Block a user