fix(dialog): use valid key binding name for OAuth success state (#2491)
Replace invalid "finish" key name with "enter" in the OAuth success
state key binding. "finish" is not a valid key name in the key package,
while "enter" is consistent with other key bindings in the codebase
and matches the help text shown to users.
commit4a3df1ec90eb9536e74b54d292d75a1442e4e58e
authorhuaiyuWangh <34158348+huaiyuWangh@users.noreply.github.com>
dateThu 26 Mar 2026, 21:43 (7 months ago)
parentdd7b58d
internal/ui/dialog/oauth.go+1−1
@@ -332,7 +332,7 @@ func (m *OAuth) ShortHelp() []key.Binding {
332332 case OAuthStateSuccess:
333333 return []key.Binding{
334334 key.NewBinding(
335− key.WithKeys("finish", "ctrl+y", "esc"),
335+ key.WithKeys("enter", "ctrl+y", "esc"),
336336 key.WithHelp("enter", "finish"),
337337 ),
338338 }