claude-code - 💡(How to fix) Fix [BUG] Console freezes when using /rewind immediately after /resume [3 comments, 4 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
anthropics/claude-code#52268Fetched 2026-04-24 06:11:40
View on GitHub
Comments
3
Participants
4
Timeline
11
Reactions
0
Timeline (top)
cross-referenced ×4commented ×3labeled ×3closed ×1

Error Message

Error Messages/Logs

RAW_BUFFERClick to expand / collapse

Preflight Checklist

  • I have searched existing issues and this hasn't been reported yet
  • This is a single bug report (please file separate reports for different bugs)
  • I am using the latest version of Claude Code

What's Wrong?

When using resume to restore a historical session and then immediately using rewind, the console window freezes and becomes unresponsive. Neither Enter nor Esc works, and I have to forcibly kill the current window. If rewind is executed right after resume, it gets stuck in a pending state. This situation should be handled properly!

Version: v2.1.118

What Should Happen?

can use rewind

Error Messages/Logs

Steps to Reproduce

  1. claude -r
  2. choice a history session
  3. waiting for load
  4. rewind
  5. freeze!

Claude Model

Other

Is this a regression?

Yes, this worked in a previous version

Last Working Version

No response

Claude Code Version

2.1.118

Platform

Other

Operating System

Windows

Terminal/Shell

PowerShell

Additional Information

No response

extent analysis

TL;DR

The issue can likely be resolved by modifying the sequence of commands or adding a delay between resume and rewind to prevent the console window from freezing.

Guidance

  • Verify that the historical session is fully loaded before executing rewind to ensure that the console is not in a pending state.
  • Try adding a short delay (e.g., using sleep or timeout) between resume and rewind to see if it resolves the freezing issue.
  • Check if there are any known issues or limitations with the rewind command in the current version (v2.1.118) that might be contributing to the problem.
  • Consider testing the same sequence of commands in a different terminal or shell to isolate if the issue is specific to PowerShell.

Notes

The lack of error messages or logs makes it challenging to pinpoint the exact cause, and without knowing the last working version, it's difficult to identify a specific regression.

Recommendation

Apply workaround: adding a delay between resume and rewind commands, as this might help mitigate the freezing issue without requiring an immediate version upgrade or code change.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING