mirror of
https://github.com/claude-code-best/claude-code.git
synced 2026-06-15 12:55:51 +00:00
fix: 修复 login 面板的左右切换能力
This commit is contained in:
@@ -709,7 +709,7 @@ function OAuthStatusMessage({
|
||||
setInputCursorOffset((displayValues[FIELDS[idx + 1]!] ?? '').length)
|
||||
}
|
||||
},
|
||||
{ context: 'Tabs' },
|
||||
{ context: 'FormField' },
|
||||
)
|
||||
useKeybinding(
|
||||
'tabs:previous',
|
||||
@@ -721,7 +721,7 @@ function OAuthStatusMessage({
|
||||
setInputCursorOffset((displayValues[FIELDS[idx - 1]!] ?? '').length)
|
||||
}
|
||||
},
|
||||
{ context: 'Tabs' },
|
||||
{ context: 'FormField' },
|
||||
)
|
||||
useKeybinding(
|
||||
'confirm:no',
|
||||
@@ -782,7 +782,7 @@ function OAuthStatusMessage({
|
||||
{renderRow('opus_model', 'Opus ')}
|
||||
</Box>
|
||||
<Text dimColor>
|
||||
Tab to switch · Enter on last field to save · Esc to go back
|
||||
↑↓/Tab to switch · Enter on last field to save · Esc to go back
|
||||
</Text>
|
||||
</Box>
|
||||
)
|
||||
@@ -916,7 +916,7 @@ function OAuthStatusMessage({
|
||||
)
|
||||
}
|
||||
},
|
||||
{ context: 'Tabs' },
|
||||
{ context: 'FormField' },
|
||||
)
|
||||
useKeybinding(
|
||||
'tabs:previous',
|
||||
@@ -932,7 +932,7 @@ function OAuthStatusMessage({
|
||||
)
|
||||
}
|
||||
},
|
||||
{ context: 'Tabs' },
|
||||
{ context: 'FormField' },
|
||||
)
|
||||
useKeybinding(
|
||||
'confirm:no',
|
||||
@@ -997,7 +997,7 @@ function OAuthStatusMessage({
|
||||
{renderOpenAIRow('opus_model', 'Opus ')}
|
||||
</Box>
|
||||
<Text dimColor>
|
||||
Tab to switch · Enter on last field to save · Esc to go back
|
||||
↑↓/Tab to switch · Enter on last field to save · Esc to go back
|
||||
</Text>
|
||||
</Box>
|
||||
)
|
||||
@@ -1148,7 +1148,7 @@ function OAuthStatusMessage({
|
||||
)
|
||||
}
|
||||
},
|
||||
{ context: 'Tabs' },
|
||||
{ context: 'FormField' },
|
||||
)
|
||||
useKeybinding(
|
||||
'tabs:previous',
|
||||
@@ -1164,7 +1164,7 @@ function OAuthStatusMessage({
|
||||
)
|
||||
}
|
||||
},
|
||||
{ context: 'Tabs' },
|
||||
{ context: 'FormField' },
|
||||
)
|
||||
useKeybinding(
|
||||
'confirm:no',
|
||||
@@ -1229,7 +1229,7 @@ function OAuthStatusMessage({
|
||||
{renderGeminiRow('opus_model', 'Opus ')}
|
||||
</Box>
|
||||
<Text dimColor>
|
||||
Tab to switch · Enter on last field to save · Esc to go back
|
||||
↑↓/Tab to switch · Enter on last field to save · Esc to go back
|
||||
</Text>
|
||||
</Box>
|
||||
)
|
||||
|
||||
@@ -147,6 +147,16 @@ export const DEFAULT_BINDINGS: KeybindingBlock[] = [
|
||||
'ctrl+d': 'permission:toggleDebug',
|
||||
},
|
||||
},
|
||||
{
|
||||
context: 'FormField',
|
||||
bindings: {
|
||||
// Form field vertical navigation (login/setup panels)
|
||||
tab: 'tabs:next',
|
||||
'shift+tab': 'tabs:previous',
|
||||
up: 'tabs:previous',
|
||||
down: 'tabs:next',
|
||||
},
|
||||
},
|
||||
{
|
||||
context: 'Tabs',
|
||||
bindings: {
|
||||
|
||||
Reference in New Issue
Block a user