[BUG] Rewind picker freezes (input loop hangs) when opened from a resumed session
Preflight Checklist
- [x] I have searched existing issues and this hasn't been reported yet
- [x] This is a single bug report (please file separate reports for different bugs)
- [x] I am using the latest version of Claude Code
What's Wrong?
Title: Rewind picker freezes (input loop hangs) when opened from a resumed session
Version: 2.1.119
OS: macOS 24.6.0 (Darwin)
Terminal: VS Code integrated terminal (zsh); also reproduces in other terminals
Expected: Arrow keys move through the list, Enter selects a checkpoint, Esc/Ctrl-C exits the picker.
Actual: The picker is completely unresponsive. No key input is accepted — arrow keys, Enter, Esc, and even Ctrl-C do nothing. The terminal tab has to be killed and reopened. The claude process itself appears alive (the picker is drawn) but its input loop is dead.
Reproduction is consistent — happens on every resumed session I've tested.
What I've ruled out:
- Not a terminal-specific issue: reproduces in VS Code integrated zsh and other terminals
- Not a wrapper issue: reproduces with the standalone claude binary, not just under cmux
- Not a session-size issue: short sessions reproduce identically to long ones
- Not a keybinding issue: /rewind slash command produces the exact same freeze, so it's not the Esc-Esc handler
- Fresh (non-resumed) sessions work correctly — the bug is specific to the resume code path
The 2.1.119 changelog mentions related fixes for /resume and Escape handling, but this specific freeze remains.
What Should Happen?
Expected: Arrow keys move through the list, Enter selects a checkpoint, Esc/Ctrl-C exits the picker.
Actual: The picker is completely unresponsive. No key input is accepted — arrow keys, Enter, Esc, and even Ctrl-C do nothing. The terminal tab has to be killed and reopened. The claude process itself appears alive (the picker is drawn) but its input loop is dead.
Error Messages/Logs
Steps to Reproduce
Steps to reproduce:
- Run claude --resume and pick any prior session (size doesn't matter — reproduced with
very short and longer sessions)
- Once the session is loaded, press Esc twice (or run /rewind)
- The checkpoint picker renders correctly with the list of checkpoints visible
Claude Model
None
Is this a regression?
Yes, this worked in a previous version
Last Working Version
_No response_
Claude Code Version
2.1.119
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
Terminal.app (macOS)
Additional Information
_No response_
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗