[BUG] CC Terminal display corrupted with garbled characters throughout every single session

Resolved 💬 23 comments Opened May 15, 2026 by lqiu03 Closed May 19, 2026
💡 Likely answer: A maintainer (bcherny, collaborator) responded on this thread — see the highlighted reply below.

Preflight Checklist

  • [x] I have searched existing issues and this hasn't been reported yet
  • [x] This is a single bug report (please file separate reports for different bugs)
  • [x] I am using the latest version of Claude Code

What's Wrong?

The terminal displays severe text corruption affecting all output:

  1. Command prompts and user input - The shell prompt and commands you type appear as random symbols and unreadable characters
  2. All Claude Code output - Every line of assistant response, system messages, and status updates renders as gibberish instead of readable English text
  3. Table/box drawing characters - What should be clean ASCII table borders appear as corrupted line-drawing symbols
  4. Persistent across entire session - The corruption affects everything from start to finish - there are no readable sections

Examples of the bug reproduced locally:
<img width="1457" height="721" alt="Image" src="https://github.com/user-attachments/assets/b9a3aa90-cbb7-4e89-aa42-65e758eaf891" />

<img width="1070" height="705" alt="Image" src="https://github.com/user-attachments/assets/72fdea51-2730-4709-b2ae-882b906a3e3d" />

What Should Happen?

All terminal text should display as clean, readable ASCII/UTF-8 characters with:

  • Proper English text for assistant responses
  • Clean table borders and formatting
  • Readable git statistics and file information
  • Normal shell prompt and command echo

Error Messages/Logs

Steps to Reproduce

  1. Open claude code inside terminal
  2. Run claude --dangerously-skip-permissions
  3. Interact with claude code on opus 4.7, 1M
  4. It's worth noting, I ran multiple /goal commands
  5. After running a few commands, bug will start to appear across all local claude code terminal sessions.

Claude Model

Opus

Is this a regression?

No, this never worked

Last Working Version

_No response_

Claude Code Version

Claude Code is up to date (2.1.142)

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Cursor

Additional Information

Cc' @bcherny; Note: this error never happened across many many versions of CC in terminal, but started to appear in sessions I've invoked the new /goal. Don't have concrete evidence to support but a suspicion to report :)

View original on GitHub ↗

23 Comments

github-actions[bot] · 2 months ago

Found 3 possible duplicate issues:

  1. https://github.com/anthropics/claude-code/issues/59239
  2. https://github.com/anthropics/claude-code/issues/59401
  3. https://github.com/anthropics/claude-code/issues/59509

This issue will be automatically closed as a duplicate in 3 days.

  • If your issue is a duplicate, please close it and 👍 the existing issue instead
  • To prevent auto-closure, add a comment or 👎 this comment

🤖 Generated with Claude Code

lqiu03 · 2 months ago

I suspect it is correlated with the new /goal command in cc version 2.1.142

bcherny collaborator · 2 months ago

Thanks for the report! Fix incoming

ag1988 · 2 months ago

same issue in jupyterlab terminal

<img width="316" height="50" alt="Image" src="https://github.com/user-attachments/assets/c029eec6-37c8-4a3c-a290-b1caaea4288c" />

archerjay · 2 months ago

Same issue. severely garbled text. 2.2.143 version. the only way to save the session is to actually /save and then /resume

adityasubathu · 2 months ago

same issue for me as well, macos tahoe 26.5. starts out fine and gets more and more garbled progressively

VsCode:

Version: 1.120.0 (Universal)
Commit: 0958016b2af9f09bb4257e0df4a95e2f90590f9f
Date: 2026-05-12T20:17:22Z (5 days ago)
Electron: 39.8.8
ElectronBuildId: 13870025
Chromium: 142.0.7444.265
Node.js: 22.22.1
V8: 14.2.231.22-electron.0
OS: Darwin arm64 25.5.0

Oh-my-zsh version: master (a071263)

Font: MesloLGS NF size 13

diana-ant collaborator · 1 month ago

Hello, this issue should have been fixed in v2.1.144. Could you please try to update and confirm if it hasn't? Thanks!

claude[bot] contributor · 1 month ago

This issue was fixed as of version 2.1.144.

ashish-ema · 1 month ago

Not fixed in 2.1.144 for me. Using Claude Code in VScode terminal on MacOS

<img width="687" height="495" alt="Image" src="https://github.com/user-attachments/assets/50a7785f-a007-4446-bd26-b2850e7a9857" />

siznax · 1 month ago

also not fixed in Claude Code v2.1.145 in VScode terminal on MacOS

<img width="400" height="66" alt="Image" src="https://github.com/user-attachments/assets/b19d5548-643e-406f-84cc-0f822c9462d8" />

archerjay · 1 month ago

not fixed in 2.1.145 for me as well..

Ctariy · 1 month ago

Problem in 2.1.145 as well

tmilova · 1 month ago

continuing to see issue in 2.1.145 it has gotten worse after continued usage and is now almost completely unusable

ChrisBoik · 1 month ago

I find resizing the terminal or if using on VS Code terminal or equivalent then full-screen toggling will rectify it briefly. Definitely more noticeable after longer sessions. Highlighting the terminal text reveals the underlying actual text but sometimes toggles the funny symbols to their correct legible counterparts while funny'ing the already legible text.

Also can confirm experiencing this on Claude CLI latest as of this comment on MacOS more than Windows. Forgive me I use both all day and forgot where I saw it happening today but definitely on the Mac.

ag1988 · 1 month ago

The issue is still present in 2.1.145.
jupyterlab terminal on chrome in macos

jackmcintyre · 1 month ago

Confirmed still an issue in 2.1.146.

OSX/VSCode

<img width="603" height="295" alt="Image" src="https://github.com/user-attachments/assets/166f82a0-cb39-4692-a4ae-6159a01c15b9" />

diana-ant collaborator · 1 month ago

Could you please set this in VSCode settings and try again? "terminal.integrated.gpuAcceleration": "off"

This is an upstream issue, not a Claude Code bug. Thank you!

ag1988 · 1 month ago
Could you please set this in VSCode settings and try again? "terminal.integrated.gpuAcceleration": "off" This is an upstream issue, not a Claude Code bug. Thank you!

I'm not using vscode but jupyterlab and I also observed this issue - thanks!

jackmcintyre · 1 month ago
Could you please set this in VSCode settings and try again? "terminal.integrated.gpuAcceleration": "off" This is an upstream issue, not a Claude Code bug. Thank you!

Thanks, worked for me!

ag1988 · 1 month ago

<img width="152" height="53" alt="Image" src="https://github.com/user-attachments/assets/420d761e-0045-4ce5-8d9f-b21a3b54069d" />

still exists in jupyterlab terminal

lavacakechef · 1 month ago
Could you please set this in VSCode settings and try again? "terminal.integrated.gpuAcceleration": "off" This is an upstream issue, not a Claude Code bug. Thank you!

thanks it worked for me, does it have any impact on the machine or processes running within it?

archerjay · 1 month ago

Yes it worked for me too

Sent from my iPhone

On Sat, 23 May 2026 at 1:19 PM, Lavacake @.***> wrote:

lavacakechef left a comment (anthropics/claude-code#59539) <https://github.com/anthropics/claude-code/issues/59539#issuecomment-4524675184> Could you please set this in VSCode settings and try again? "terminal.integrated.gpuAcceleration": "off" This is an upstream issue, not a Claude Code bug. Thank you! thanks it worked for me, does it have any impact on the machine or processes running within it? — Reply to this email directly, view it on GitHub <https://github.com/anthropics/claude-code/issues/59539#issuecomment-4524675184>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/BNPIF6YB6MYY4NRCYZM7UCL44FJ2FAVCNFSM6AAAAACZAAB3HOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHM2DKMRUGY3TKMJYGQ> . Triage notifications on the go with GitHub Mobile for iOS <https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675> or Android <https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>. You are receiving this because you commented.Message ID: @.***>
thomasballinger · 1 month ago

There are more mitigations on the way for this, but the simplest, permanent fix is to turn off terminal GPU acceleration in VSCode/Cursor until the upstream xterm.js bug fix makes it into those editors.

To quickly fix, try resizing the terminal or (as of today's Claude Code build) ctrl-L.