claude-code - 💡(How to fix) Fix [BUG]UI renders multiple times on single prompt input [2 comments, 2 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#46499Fetched 2026-04-11 06:18:40
View on GitHub
Comments
2
Participants
2
Timeline
7
Reactions
0
Timeline (top)
labeled ×3commented ×2renamed ×2

Error Message

Error Messages/Logs

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?

Single prompt input causes the entire Claude Code UI to render 13+ times. The complete interface (header, prompt, response, input bar) repeats down the terminal on each render.

Potentially related: #45499

What Should Happen?

Single render of prompt and response.

Error Messages/Logs

Steps to Reproduce

  1. Launch Terminal.app (fresh window, 80×24)
  2. Run claude (or alias)
  3. Enter "hello"
  4. Observe: UI renders 13+ times

Claude Model

Opus

Is this a regression?

I don't know

Last Working Version

Opus 4.6

Claude Code Version

Opus 4.6

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Terminal.app (macOS)

Additional Information

No response

extent analysis

TL;DR

The issue can be mitigated by investigating and potentially adjusting the rendering logic in the Claude Code UI to prevent multiple renders.

Guidance

  • Investigate the relationship between the input prompt length and the number of UI renders to determine if there's a correlation.
  • Check the code for any loops or recursive functions that could be causing the repeated renders.
  • Compare the current version (Opus 4.6) with the potentially related issue #45499 to see if it's a known problem.
  • Test the application with different input prompts and terminal sizes to see if the issue is consistent.

Example

No code snippet can be provided without more information about the Claude Code UI rendering logic.

Notes

The issue may be related to the Anthropic API or the Terminal.app environment, so testing with different platforms and terminals could help isolate the problem.

Recommendation

Apply workaround: Adjust the rendering logic in the Claude Code UI to prevent multiple renders, as the issue seems to be related to the UI rendering rather than a version-specific bug.

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