[BUG] Escape key and Shift+Tab (mode switching) not working in VS Code integrated terminal on Windows
Resolved 💬 3 comments Opened Mar 26, 2026 by nikunjkareliya Closed Mar 30, 2026
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?
Bug
Pressing Escape key and Shift+Tab (to cycle agent modes) do nothing inside VS Code's integrated terminal on Windows. The keyboard itself works fine — these keys function correctly in other CLIs (e.g., Gemini CLI handles Shift+Tab for mode switching without issue on the same machine).
Environment
- Claude Code version: 2.1.84
- VS Code version: 1.113.0
- Operating System: Windows
- Terminal: VS Code integrated terminal
Current Behavior
Both keys do nothing. No mode switch, no visual feedback, no error.
Workarounds
- Run
claudefrom Windows Terminal instead of VS Code's integrated terminal - Use the VS Code Extension panel (sidebar UI) instead of the CLI
- Use
/planslash command instead ofShift+Tabfor mode switching
What Should Happen?
Expected Behavior
Escapeshould cancel the current operationShift+Tabshould cycle through agent modes (default → auto-edit → plan)
Error Messages/Logs
Steps to Reproduce
Steps to Reproduce
- Open VS Code on Windows
- Open the integrated terminal
- Run
claude - Press
EscapeorShift+Tab - Nothing happens — no mode switch, no cancel, no visual feedback
Claude Model
Not sure / Multiple models
Is this a regression?
Yes, this worked in a previous version
Last Working Version
_No response_
Claude Code Version
2.1.84
Platform
Anthropic API
Operating System
Windows
Terminal/Shell
VS Code integrated terminal
Additional Information
_No response_
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗