[Bug] Terminal focus-in event consumed as prompt denial in permission dialog
Status Closed — not planned
Reported on v2.1.195
Maintainer reply None cached
Activity 3 comments · opened Jun 29, 2026 · closed Aug 16, 2026
Bug Description
On the focus bug — yes, that's a Claude Code (Anthropic) bug, not your project or config. What's happening: when the terminal regains focus, it emits an event
(a focus-in escape sequence or the mouse-click itself) that the TUI's permission-prompt input handler consumes as an answer — and the default it lands on is
"deny." Clicking to refocus should never count as answering a prompt.
Environment Info
- Platform: darwin
- Terminal: intellij
- Version: 2.1.195
- Feedback ID: af2c6e41-7804-454f-853d-d88c47570698
Errors
[]This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗