[BUG] VS Code extension (Windows): Enter/Delete unresponsive in agents manager after returning from an agent (v2.1.168)
Resolved 💬 2 comments Opened Jun 7, 2026 by revilasas Closed Jun 10, 2026
Environment
- Claude Code version: 2.1.168 (latest at time of report)
- IDE: VS Code extension
- OS: Windows 11
Description
In the Claude Code VS Code extension, after navigating into an agent and then back to the agents manager, the keyboard becomes unresponsive in that view: Enter and Delete no longer do anything, so it's impossible to create new agents or delete existing ones. The only way to recover is to close and reopen the VS Code window (Developer: Reload Window also works).
It looks like the agents manager does not regain keyboard focus when navigating back from an agent.
Steps to reproduce
- Open the agents / subagents manager in the Claude Code VS Code extension.
- Open (navigate into) an agent.
- Navigate back to the agents manager.
- Press Enter or Delete → nothing happens. New agents can't be created and existing ones can't be deleted.
Expected
Keyboard (Enter / Delete) works in the agents manager after returning from an agent.
Actual
Enter and Delete are unresponsive in the agents manager. Recovering requires reloading the VS Code window.
Notes
- Still reproduces on 2.1.168, so this appears distinct from the 2.1.160 fix ("Fixed Esc, arrow keys, and typing becoming unresponsive on Windows when attached to a background session"). That fix addressed an attached background session; this is specifically the agents manager losing keyboard focus after navigating back from an agent.
- Systematic / 100% reproducible.
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗