claude agents: pressing back arrow while response is generating freezes CLI completely

Resolved 💬 9 comments Opened May 14, 2026 by kumaakh Closed May 16, 2026

Environment

  • Claude Code version: 2.1.141 (latest)
  • OS: Windows 11
  • Terminal: VS Code integrated terminal (Command Prompt)

Steps to reproduce

  1. Run claude agents
  2. Enter any existing conversation
  3. Send a message and wait for the agent to start generating a response
  4. While the response is still streaming/generating, press the back arrow to return to the agents list

Expected behavior

Navigation back to the agents list works cleanly, or is blocked with a prompt until generation completes.

Actual behavior

The CLI becomes completely unresponsive — no keyboard input is accepted, no navigation works. The only recovery is to kill the terminal session.

Notes

  • Specific to the claude agents command — does not reproduce in normal Claude Code chat
  • The freeze is triggered specifically by navigating away mid-generation via the back arrow
  • Distinct from general CLI unresponsiveness issues (#24478, #25286) which lack this specific trigger
  • No screenshot provided as the frozen state shows no visible indicator — the terminal simply stops responding to all input

View original on GitHub ↗

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