Claude Code terminal flickering on Mac: how to fix it
Claude Code flickering or flashing white in a Mac terminal? Update it, switch to a terminal with synchronized output (DEC mode 2026), and rule out tmux.
GuideUpdated 6 min read
On this page
You open Claude Code in your Mac terminal and the screen flickers while it streams output, or the whole window briefly flashes white. It can happen in a long session or only now and then. This page covers what is behind it and what to try, in order.
Why Claude Code flickers in a Mac terminal
Claude Code draws its interface inside your terminal and redraws it as output arrives. If the terminal paints the screen between the "clear" and the "draw" steps of one redraw, you see a half-built frame. That is the flicker.
Synchronized output is the standard fix. It is a pair of escape sequences: the program sends one to say "start batching", sends all its updates, then sends another to say "show the frame now". Microsoft's documentation of these sequences describes them as a way for text UI apps to avoid flickering, and lists them as ESC [ ? 2026 h and ESC [ ? 2026 l. A terminal that implements the feature holds the screen until the frame is whole. A terminal that doesn't paints whatever arrives.
The causes we can name from the reports we reviewed:
- The redraw method in your Claude Code version. The issue was reported for a long time and drew a lot of thumbs-up on the Claude Code tracker. An Anthropic engineer said in a Hacker News thread that a differential renderer has shipped. That engineer said about a third of sessions still see a flicker. Older versions are more likely to flicker.
- A terminal without synchronized output. This is the most likely cause if you have updated and it still happens. Anthropic's help center says the team recommends Ghostty for synchronized rendering and 24-bit color.
- A white flash specifically. One report describes an occasional white flash on macOS 15.6 in Apple's Terminal. We don't know the exact cause. It may be the same redraw problem, or something specific to that terminal.
- Extra layers such as tmux. Running inside tmux puts another program between Claude Code and your screen. Our sources don't say how tmux handles mode 2026, so we treat it as something to test, not as a known cause.
Behavior changes between Claude Code releases, and the reports we reviewed were last active in April 2026. Check your own version before assuming the old advice applies.
Step-by-step fixes
Fix 1: Update Claude Code and start a new session
Print your current version. This changes nothing:
bash claude --versionUpdate:
bash claude updateQuit Claude Code completely (close the session, not just the window) and start a new one with
claude. A session that is already running keeps the old code.If you installed through a package manager such as npm, update with that tool instead. Our Claude Code install guide lists the install routes.
Use it for a while in the same project that flickered before. If the flicker is gone, you're done.
Fix 2: Run Claude Code in a terminal with synchronized output
This is the fix Anthropic's team points to. Ghostty is the terminal they name. Anthropic's help article on power-user tips also says that /terminal-setup does not support Apple Terminal, which is a separate limit from flicker but worth knowing if you stay in Terminal.
- Install Ghostty (download it from the Ghostty project's site) or another terminal that documents "synchronized output" or "mode 2026" support.
- Open a new window,
cdinto the same project and runclaude. - Do the same kind of work that triggered the flicker: long output, scrolling, a big diff.
- Compare. If the flicker only happens in your old terminal, the terminal is the cause.
We haven't confirmed which other Mac terminals support mode 2026, and we haven't confirmed whether Apple's Terminal does. Check each terminal's own documentation before you switch.
Fix 3: Rule out tmux
If you normally run claude inside tmux:
- Open a plain terminal window with no tmux session.
- Run
claudein the same project. - Watch for the flicker.
If the flicker disappears, tmux is involved, and that is worth mentioning if you report the problem. If it stays, tmux isn't the cause, so go back to Fixes 1 and 2. This is a test, not a fix. If you need tmux for long sessions, try it inside the terminal you picked in Fix 2.
Fix 4: Try a wrapper such as Claude Chill
Claude Chill is a wrapper that people have suggested as a workaround. We haven't tested it and don't know how it works. Read its own README for install steps and limits. Try it last, because it adds another program between you and Claude Code, and that can cause its own problems.
What to try, at a glance
| Try | What it tells you | Limit |
|---|---|---|
claude update | Whether the newer renderer fixes it | Not enough for everyone |
| Terminal with mode 2026 | Whether the terminal is the cause | You change terminals |
| Run without tmux | Whether tmux is involved | A test, not a fix |
| Wrapper such as Claude Chill | A possible workaround | Untested by us |
Checklist before you report it
claude --versionshows the latest release, and you started a new session after updating.- You tried at least one terminal other than the one that flickers.
- You tried once without tmux, if you normally use it.
- You noted your macOS version and your terminal app and version.
- You can say whether it is a flicker during output or a single white flash.
If nothing works
Report it to Anthropic. Use the Claude Code issue tracker on GitHub, or Anthropic's support channel if you have a paid plan. Search the tracker first, since the flicker has long-running threads and adding your details to one helps more than a new report. Include the exact version, terminal, macOS version, whether tmux was running, and a short screen recording.
Claude Code flickers in my terminal on macOS.
Claude Code version: (output of claude --version)
macOS version:
Terminal app and version:
Running inside tmux: yes/no
Symptom: flicker during streaming output / single white flash
Tried: claude update, fresh session, second terminal (name it), without tmux
Result in the second terminal:
Screen recording attached.Common questions
Will updating Claude Code definitely fix it?
No. An Anthropic engineer said the renderer has improved, but about a third of sessions still see a flicker. Update first because it costs nothing, then move to a different terminal if it persists.
Should I switch terminals just for this?
Try one as a test before you commit. If the flicker disappears in a terminal with synchronized output, you have your answer. If it doesn't, you've ruled the terminal out.
Does the white flash mean something is wrong with my Mac?
Nothing we reviewed points to a hardware or system fault. The report we found was an occasional white flash in Apple's Terminal on macOS 15.6, and we don't know its cause. Treat it as a rendering problem and run the same tests.
Is Claude Code itself broken, or is it my setup?
Both can be true. The redraw method is in Claude Code, and whether the screen shows half-finished frames depends on the terminal. That is why testing a second terminal is the quickest way to tell.
Where Sledbot fits
Sledbot won't fix this flicker, and we can't say whether it avoids it. It runs Claude Code and other agents in terminal panes built on SwiftTerm, and our notes don't say whether those panes support synchronized output. What it does give you is another place to run Claude Code, so you can compare it with your current terminal. Sledbot is part of MacSuite and needs macOS 14 Sonoma or later; see Getting started with Sledbot. For the flicker alone, Fixes 1 and 2 are the route to try.