[BUG] VSCode Extension steals focus from terminal when typing git commands
Resolved 💬 2 comments Opened Apr 8, 2026 by pedro-felix Closed Jun 1, 2026
Description
When typing git commands in the integrated terminal (Cursor), the focus unexpectedly jumps to the Claude Code extension's prompt input box, interrupting the command being typed.
Steps to Reproduce
- Open Cursor with the Claude Code extension panel visible
- Open the integrated terminal
- Start typing a git command (e.g.
git status,git commit, etc.) - Focus jumps to the Claude Code prompt input mid-keystroke
Expected Behavior
Focus should remain in the terminal while typing commands.
Actual Behavior
Focus is stolen from the terminal and moves to the Claude Code extension's prompt input box, interrupting the git command being typed.
Frequency
Intermittent — does not happen every time, but frequently enough to disrupt workflow.
Environment
- Claude Code Extension: v2.1.96
- IDE: Cursor 3.0.13
- OS: macOS Tahoe 26.4
Notes
- The Claude Code panel is open/visible when the bug occurs
- Unclear whether this also happens with non-git commands
- Related but distinct from #32726 (which is about panel auto-revealing on output) — this issue is specifically about focus being stolen while actively typing in the terminal
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗