claude-code - 💡(How to fix) Fix [BUG] CC Terminal display corrupted with garbled characters throughout every single session

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…

Error Message

Error Messages/Logs

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 :)

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?

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 :)

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