claude-code - 💡(How to fix) Fix [BUG] Rewind menu shows "(no prompt)" for user messages containing images [1 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#52155Fetched 2026-04-23 07:35:11
View on GitHub
Comments
0
Participants
1
Timeline
5
Reactions
0
Participants
Timeline (top)
labeled ×4closed ×1
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?

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

  1. Start a new Claude Code session.
  2. Send a text-only prompt (e.g. hello sir).
  3. Send a prompt that includes an image attachment plus text (e.g. paste a screenshot with the caption what does this screenshot say).
  4. Send another text-only prompt (e.g. nice).
  5. 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

extent analysis

TL;DR

The issue can be addressed by modifying the Rewind overlay to handle prompts with image attachments, possibly by updating the rendering logic to include the prompt's text along with the image tag.

Guidance

  • Investigate the Rewind overlay's rendering logic to identify why prompts with image attachments are being replaced with the "(no prompt)" placeholder.
  • Verify that the issue is specific to the Rewind overlay and not a general problem with rendering prompts that include image attachments.
  • Check the data structure used to store and display prompts in the Rewind overlay to ensure it can handle image attachments and associated text.
  • Consider adding a unique identifier or tag to image-bearing prompts in the Rewind overlay to facilitate identification and rewinding.

Example

No code snippet can be provided without more information about the underlying implementation, but the fix might involve updating a template or rendering function to include the prompt text and image tag, such as:

// Pseudo-code example, actual implementation may vary
renderPrompt(prompt) {
  if (prompt.includesImage) {
    return `${prompt.text} [Image #]`;
  } else {
    return prompt.text;
  }
}

Notes

The provided information does not specify the exact implementation details of the Rewind overlay or how prompts are rendered, so the guidance is based on general principles of handling and displaying mixed media content.

Recommendation

Apply a workaround by modifying the Rewind overlay's rendering logic to handle prompts with image attachments, as this seems to be a specific issue rather than a version-related problem.

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

claude-code - 💡(How to fix) Fix [BUG] Rewind menu shows "(no prompt)" for user messages containing images [1 participants]