[Bug] Focus lost in Claude Code editor after Alt+Tab switch on Windows

Resolved 💬 10 comments Opened Dec 14, 2025 by radishcoding-art Closed Feb 27, 2026

Bug Description
When using the Claude Code extension in VSCode on Windows, if I launch Claude Code in non-Terminal mode, first place focus in Claude Code's text editor, then use Alt + Tab to switch to another application, and then use Alt + Tab to switch back to VSCode, the text editor focus in Claude Code will be lost.

Environment Info

  • Platform: win32
  • Terminal: vscode
  • Version: 2.0.69
  • Feedback ID: f699aec4-8b8f-4cad-befb-5909c5d79981

Errors

[{"error":"AbortError: The operation was aborted.\n    at unknown\n    at abortChildProcess (node:child_process:947:42)\n    at onAbortListener2 (node:child_process:35:24)\n    at abort (unknown)\n    at <anonymous> (B:/~BUN/root/claude.exe:4620:12747)","timestamp":"2025-12-14T20:39:28.332Z"}]

View original on GitHub ↗

This issue has 10 comments on GitHub. Read the full discussion on GitHub ↗