[BUG] Rewind menu shows "(no prompt)" for user messages containing images
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?
In the Rewind overlay, user prompts that include an image attachment are displayed as (no prompt) instead of the prompt's text. Text-only prompts render correctly.
<img width="1004" height="716" alt="Image" src="https://github.com/user-attachments/assets/710df1b9-c88c-4583-8829-2c8db21d147e" />
Environment
- Claude Code v2.1.117
- Model: Opus 4.7 (1M context), high effort
- Platform: macOS (Darwin 25.4.0)
The rewind list renders:
- hello sir — No code changes
- (no prompt) — No code changes ← this row corresponds to the image-bearing turn
- nice — No code changes
- › (current)
The image-bearing prompt's text is dropped and replaced with the (no prompt) placeholder, making it hard (in longer conversations with multiple image-bearing turns) to identify which turn to rewind to.
What Should Happen?
The rewind entry should show the prompt's text along with the usual [Image #] tag.
Steps to Reproduce
- Start a new Claude Code session.
- Send a text-only prompt (e.g. hello sir).
- Send a prompt that includes an image attachment plus text (e.g. paste a screenshot with the caption what does this screenshot say).
- Send another text-only prompt (e.g. nice).
- Open the Rewind overlay.
Is this a regression?
I don't know
Last Working Version
_No response_
Claude Code Version
2.1.117
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
Warp
Additional Information
_No response_
This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗