@@ -143,17 +143,15 @@ func (m *modelDialogCmp) Update(msg tea.Msg) (util.Model, tea.Cmd) {
143143 return m, util.CmdHandler(dialogs.CloseDialogMsg{})
144144 case tea.KeyPressMsg:
145145 switch {
146− case key.Matches(msg, key.NewBinding(key.WithKeys("c", "C"))):
147− if m.showClaudeOAuth2 && m.claudeOAuth2.State == claude.OAuthStateURL {
148− return m, tea.Sequence(
149− tea.SetClipboard(m.claudeOAuth2.URL),
150− func() tea.Msg {
151− _ = clipboard.WriteAll(m.claudeOAuth2.URL)
152− return nil
153− },
154− util.ReportInfo("URL copied to clipboard"),
155− )
156− }
146+ case key.Matches(msg, key.NewBinding(key.WithKeys("c", "C"))) && m.showClaudeOAuth2 && m.claudeOAuth2.State == claude.OAuthStateURL:
147+ return m, tea.Sequence(
148+ tea.SetClipboard(m.claudeOAuth2.URL),
149+ func() tea.Msg {
150+ _ = clipboard.WriteAll(m.claudeOAuth2.URL)
151+ return nil
152+ },
153+ util.ReportInfo("URL copied to clipboard"),
154+ )
157155 case key.Matches(msg, m.keyMap.Choose) && m.showClaudeAuthMethodChooser:
158156 m.claudeAuthMethodChooser.ToggleChoice()
159157 return m, nil