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

Status Fixed / completed
Reported on v2.1.141
Maintainer reply ✓ Yes — claude[bot]
Activity 9 comments · opened May 14, 2026 · closed May 16, 2026
💡 Likely answer: A maintainer (claude[bot], contributor) responded on this thread — see the highlighted reply below.

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 ↗

9 Comments

claude[bot] contributor · 3 months ago

This issue was fixed as of version 2.1.143.

derekxia1988 · 3 months ago
This issue was fixed as of version 2.1.143.

No, it wasn't.

kumaakh · 3 months ago

I still see that agents view getting stuck in a hellish manner

qkrtkdwns3410 · 3 months ago

still not working in windows..

joaonsouza · 3 months ago

still having the same problem,

erielmiquilino · 3 months ago

Confirming this still reproduces on v2.1.143 despite the "fixed" comment.

Environment

  • Claude Code: 2.1.143
  • OS: Windows 11 Pro (10.0.26200)
  • Shell: PowerShell 7

Repro (broader than the original report)
The freeze is not limited to mid-generation. It reproduces even when the chat is fully idle:

  1. claude agents → attach to any session
  2. Wait until any response has finished streaming (chat is idle, prompt is empty)
  3. Press (left arrow) to detach → terminal becomes completely unresponsive

Documented workaround also broken
The Ctrl+Z detach shortcut mentioned in the Agent View docs produces the same freeze — neither input path recovers. Only killing the terminal works.

Requesting reopen — the v2.1.143 fix doesn't cover this path on Windows.

dannygardner26 · 3 months ago
This issue was fixed as of version 2.1.143.

No it was not, this is broken

kumaakh · 3 months ago

It is a very very annoying issue... I have stopped using agents view completely...
it is a big distraction.
It is even more disappointing to see that they keep closing it without realizing the bad user experience they are offering

github-actions[bot] · 1 month ago

This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.