[BUG] Pressing `esc` on a Web Search tool run leads to corrupted state
Resolved 💬 2 comments Opened Jun 6, 2025 by adriangalilea Closed Jun 6, 2025
Environment
- Platform: Anthropic API (Max sub)
- Claude CLI version: 1.0.16
- Operating System: macOS 15.5
- Terminal: Ghostty + fish
Bug Description
When pressing <kbd>esc</kbd>on a Web Search tool run may lead to corrupted state:
<img width="1421" alt="Image" src="https://github.com/user-attachments/assets/7c3c374f-5d6a-4e55-8306-7404c22a4e8b" />
That can't be recovered with claude -c, it inherits this corrupted state.
Steps to Reproduce
- Ask for a web search
- Wait for a couple of seconds
- <kbd> esc </kbd>
- Talk to Claude again immediately
Can reproduce 100% of times, if sequence is followed.
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗