ESC+ESC rewind leaves input handler broken until full restart (v2.1.116)
Resolved 💬 7 comments Opened Apr 21, 2026 by HongjieRen Closed Jun 7, 2026
Bug Description
After using ESC+ESC to enter rewind mode, the input handler stops accepting keyboard input. Characters typed do not appear, backspace does nothing (no visible output either). Cursor movement still works. The broken state persists even after canceling rewind — normal conversation input also stops working. Only a full Claude Code restart restores input.
Steps to Reproduce
- Start a conversation with any message
- Press ESC twice to enter rewind mode
- Try to edit the rewound message — typing and backspace do nothing
- Press ESC to cancel rewind
- Try to type in the normal conversation input — still broken
- Only fix: fully exit and restart Claude Code
Expected Behavior
After canceling rewind (ESC), normal input should be restored immediately.
Environment
- Claude Code version: 2.1.116
- OS: macOS (Darwin 25.3.0)
- Terminals tested: Ghostty and macOS Terminal.app (both reproduce)
- Not tmux-related: reproduces in plain terminal without tmux
Workaround
Ctrl+C sometimes breaks out of the broken state without requiring full restart.
This issue has 7 comments on GitHub. Read the full discussion on GitHub ↗