[BUG] Terminal Interface get hanged when run `claude -r`

Resolved 💬 5 comments Opened Aug 30, 2025 by orsmkumar68 Closed Jan 5, 2026

Environment

  • Platform (select one):
  • [x] Anthropic API
  • [ ] AWS Bedrock
  • [ ] Google Vertex AI
  • [ ] Other: <!-- specify -->
  • Claude CLI version: 1.0.98
  • Operating System: Windows 11
  • Terminal: PowerShell

Bug Description

The claude -r command displays the list of sessions but then immediately hangs/freezes, making the terminal unresponsive. The application becomes completely unresponsive and requires forcefully closing the terminal window.

Steps to Reproduce

  1. Open PowerShell on Windows 11
  2. Execute the command claude -r
  3. Observe that the list of sessions appears
  4. Notice that the terminal becomes unresponsive immediately after the list is displayed

Expected Behavior

The claude -r command should display the list of sessions and then either:

  • Return to the command prompt for further input
  • Allow user interaction to select a session
  • Complete the command execution normally without hanging

Actual Behavior

  • The command displays the session list as expected
  • Immediately after displaying the list, the terminal/application hangs
  • The terminal becomes completely unresponsive
  • User is forced to close the terminal window and reopen it to continue working
  • No error messages or additional output is provided

Additional Context

  • This issue occurs consistently every time claude -r is executed
  • The hang happens specifically after the session list is displayed
  • No error logs or messages are shown when the hang occurs
  • The issue requires force-closing the terminal window as no other recovery method works
  • Other Claude CLI commands may or may not be affected (not specified)

View original on GitHub ↗

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