[BUG] On "tell Claude what to do differently" in VSCode, focus changes to IDE instead of staying in Claude Code

Resolved 💬 3 comments Opened Nov 26, 2025 by CatalanCabbage Closed Nov 29, 2025

Preflight Checklist

  • [x] I have searched existing issues and this hasn't been reported yet
  • [x] This is a single bug report (please file separate reports for different bugs)
  • [x] I am using the latest version of Claude Code

What's Wrong?

On VSCode: when choosing option 3 (tell claude what to do differently), I hit enter and immediately start typing.
But focus changes for a second to the IDE for some reason before going back to Claude Code terminal, which means the first few chars are typed in code files.

<img width="779" height="229" alt="Image" src="https://github.com/user-attachments/assets/cbdbd8cf-2836-4289-83d0-d403de1fa61b" />

What Should Happen?

Focus should stay in Claude Code

Error Messages/Logs

Steps to Reproduce

  • Stay in accept edits off
  • Ask it to do something
  • Select "tell Claude what to do differently" and start typing immediately

Claude Model

Sonnet (default)

Is this a regression?

No, this never worked

Last Working Version

_No response_

Claude Code Version

2.0.54 (Claude Code)

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

VS Code integrated terminal

Additional Information

_No response_

View original on GitHub ↗

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