Skip to content

[BUG] Intermittent terminal rendering corruption in VS Code (text selection forces a partial re-render) #59915

Description

@rid-saw

Preflight Checklist

  • 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?

Output from claude in the VS Code integrated terminal intermittently becomes garbled. Clicking and dragging over the affected region forces a partial repaint and makes the text readable again, which points to a terminal renderer issue rather than malformed output from Claude Code.

What Should Happen?

Terminal output should render cleanly without requiring user interaction to force a repaint.

Steps to Reproduce

Intermittent and non-deterministic. There are no reliable repro steps. Not correlated with any specific command or output length I can identify. Happy to test alternative renderer settings if useful.

Claude Model

Opus

Is this a regression?

Yes, this worked in a previous version

Claude Code Version

2.1.143

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

VS Code integrated terminal

Additional Information

Visual symptoms
See screenshot. Latin characters are replaced with fallback Unicode glyphs, but layout, colours, and Claude Code's UI elements all render correctly. Consistent with glyph cache / texture atlas corruption, not malformed output.

Image

Key diagnostic observation
Selecting the garbled text forces a repaint of the highlighted region, which makes it readable. Releasing the selection often reverts the area to its garbled state.

Prior reports
Several similar reports have been filed over the past year, many closed without resolution. Happy to link them if it helps consolidate the investigation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:tuibugSomething isn't workingplatform:macosIssue specifically occurs on macOSplatform:vscodeIssue specifically occurs in VS Code

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions