CLAUDE_CODE_NO_FLICKER=1 causes duplicated output and garbled Unicode on Windows
Status Fixed / completed
Maintainer reply None cached
Activity 5 comments · opened Apr 2, 2026 · closed Apr 7, 2026
Description
Setting CLAUDE_CODE_NO_FLICKER=1 in ~/.claude/settings.json env causes two rendering issues on Windows 11:
- Duplicated output — the same text block (including tables, paragraphs) appears twice in a single response
- Garbled Unicode — box-drawing characters render as mojibake when copy-pasting (e.g.
ΓöÇΓöÇinstead of───,Γö£instead of├)
Both issues disappear immediately when the env var is removed.
Steps to reproduce
- Add
"CLAUDE_CODE_NO_FLICKER": "1"toenvin~/.claude/settings.json - Start a new Claude Code session
- Ask Claude to output a markdown table with Unicode box-drawing characters
- Observe duplicated output and garbled characters when copying the response
Environment
- OS: Windows 11 Pro (10.0.26220)
- Shell: Git Bash
- Claude Code: CLI in terminal
5 Comments
Found 3 possible duplicate issues:
This issue will be automatically closed as a duplicate in 3 days.
🤖 Generated with Claude Code
This is not a full duplicate of the three suggested issues. Here's why:
Bug 1 — Duplicated output is completely unique to this issue. None of #42406, #42417, or #42482 mention text appearing twice in a single response. This is a distinct rendering bug.
Bug 2 — Garbled Unicode is related but not identical:
All four issues share the same root cause area (NO_FLICKER renderer encoding on Windows), but this one covers a wider scope (non-CJK Unicode corruption) and reports an entirely separate bug (duplicated output) that the others don't.
Seeing the same garbled output on my end. Additional repro details:
Trigger sequence: Run
/clear, then immediately run/review— the entire response renders as a wall of repeatedàcŕàcŕàcŕ...characters (hundreds of them), ending with\\\\Γ¥. The text is completely unreadable.This happens with both the POWERSHELL renderer and NO_FLICKER mode enabled. Disabling NO_FLICKER resolves it, consistent with what others are reporting.
Environment:
The encoding corruption pattern (
àcŕrepeating) looks like UTF-8 multi-byte sequences being split or reinterpreted mid-stream, possibly the alt-screen write path flushing partial codepoints when the buffer resets after/clear.Adding context: I had
CLAUDE_CODE_NO_FLICKER=1set because the flickering/repainting during tool calls Meant that I would have to wait a long time for Claude to finish what he's doing before I could read what was written on the screen. — text jumping around makes it hard to follow what's happening. so the no flicker was much apprecialted.However, I've now discovered it's causing full conversation re-renders after each tool call, with pre-tool text appearing twice, which doubles token usage in the display. the setup is Windows Terminal on Windows 1o SSH'd into a Linux machine, with Claude Code running on the Linux side. So the rendering/duplication issue is occurring through an SSH session in Windows Terminal, not a native Linux terminal. Might be relevant for diagnosing whether this is a Windows Terminal PTY issue vs a Claude Code rendering issue.
Please let me know when this issue has been resolved so I can put no flicker back on.
This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.