Duplicate banner and repeated messages in a single session
Summary
In a single Claude Code session, the startup banner can appear more than once, and previously rendered messages/tool-call entries can be inserted again into the same conversation view.
Expected behavior
- A single session should show the Claude Code startup banner only once.
- Previously rendered user messages should not be inserted again later in the same session.
- Tool call logs should not be duplicated in the same session view.
Actual behavior
- The Claude Code banner appears again in the middle of an existing session.
- A previously asked user message is rendered again below the repeated banner.
- Tool call output/history is also repeated, which makes the conversation look mixed together or reinitialized.
What I observed from the screenshot
In the same session, after earlier conversation content is already visible, the UI shows another Claude Code banner:
Claude Code v2.1.101gpt-5.4 with high effort · API Usage Billing
Below that repeated banner, an earlier user message is shown again:
查询ghostty的默认配置是什么?
And the related tool activity is rendered again as well, including a Context7 call line beginning with:
context7 - resolve-library-id ...
This makes it look like the session UI was initialized or replayed again inside the same conversation.
Environment
- Claude Code v2.1.101
- macOS
- Terminal: Ghostty
Notes
I have a screenshot showing the duplicate banner and repeated message/tool output. I can provide it if needed.
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗