fix(ui): allow oauth modals to consume enter
commitb90bcc3f2f946052f6981fbf2ee19fa46f24c7c7
authorKieran Klukas <kieran@dunkirk.sh>
dateTue 5 May 2026, 16:44 (5 months ago)
parentd5b4765
internal/ui/model/ui.go+2−1
@@ -1621,7 +1621,8 @@ func (m *UI) fetchHyperCredits() tea.Cmd {
16211621func (m *UI) handleSelectModel(msg dialog.ActionSelectModel) tea.Cmd {
16221622 var cmds []tea.Cmd
16231623
1624− if m.isAgentBusy() {
1624+ // we ignore dialogs with the oauth id as they need to be able to be dismissed
1625+ if m.isAgentBusy() && !m.dialog.ContainsDialog(dialog.OAuthID) {
16251626 return util.ReportWarn("Agent is busy, please wait...")
16261627 }
16271628