claude-code - 💡(How to fix) Fix Streaming char count should display in tool name header, not inline with content [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#49518Fetched 2026-04-17 08:38:50
View on GitHub
Comments
0
Participants
1
Timeline
3
Reactions
0
Author
Participants
Timeline (top)
labeled ×2closed ×1

When a tool is streaming (e.g. Write), the [streaming: N chars] indicator currently renders inline in place of the content parameter value. It would be more useful if this indicator appeared in the tool name / header section instead, so the input block isn't visually disrupted mid-stream.

Root Cause

When a tool is streaming (e.g. Write), the [streaming: N chars] indicator currently renders inline in place of the content parameter value. It would be more useful if this indicator appeared in the tool name / header section instead, so the input block isn't visually disrupted mid-stream.

Code Example

Write File  hide
  input
  path: reports/promo-video-research.md
  content: [streaming: 12,263 chars]

---

Write File  [streaming: 12,263 chars]  hide
  input
  path: reports/promo-video-research.md
  content: ...
RAW_BUFFERClick to expand / collapse

Summary

When a tool is streaming (e.g. Write), the [streaming: N chars] indicator currently renders inline in place of the content parameter value. It would be more useful if this indicator appeared in the tool name / header section instead, so the input block isn't visually disrupted mid-stream.

Current behavior

The streaming char count replaces the parameter value inline:

Write File  hide
  input
  path: reports/promo-video-research.md
  content: [streaming: 12,263 chars]

Suggested behavior

Show the streaming indicator next to the tool name in the header, leaving the input preview area free to render progressively (or remain blank until complete):

Write File  [streaming: 12,263 chars]  hide
  input
  path: reports/promo-video-research.md
  content: ...

This keeps the progress signal visible while the tool header is already the natural place to communicate tool-level state.

extent analysis

TL;DR

Move the streaming indicator from the content parameter to the tool name/header section to prevent visual disruption during streaming.

Guidance

  • Identify the code responsible for rendering the tool name/header section and the content parameter value.
  • Modify the rendering logic to display the streaming indicator next to the tool name instead of replacing the content parameter value.
  • Update the CSS/layout to accommodate the new position of the streaming indicator, ensuring it does not overlap with other elements.
  • Verify that the input preview area remains free to render progressively or remains blank until the streaming is complete.

Example

// Before
Write File  
  input
  path: reports/promo-video-research.md
  content: [streaming: 12,263 chars]

// After
Write File  [streaming: 12,263 chars]  
  input
  path: reports/promo-video-research.md
  content: ...

Notes

This solution assumes that the rendering logic is modular and can be easily modified. If the codebase is complex, additional refactoring may be necessary to achieve the desired outcome.

Recommendation

Apply workaround: Modify the rendering logic to display the streaming indicator next to the tool name, as this approach addresses the specific issue without requiring a full overhaul of the system.

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 Streaming char count should display in tool name header, not inline with content [1 participants]