Claude Code v2.1.223 ·
Terminal text sanitizer rewritten around grapheme width checks
Weird characters in output and command previews can no longer break your terminal layout.
You'll noticeTier: how much it should matter to you
4Useful: my rating, 1 to 5
0Signal: worth watching, 1 to 5
Terminal RenderingArea: what it touches
ImprovementsKind: in v2.1.223,
What probably matters to youSection of the release
What
Text rendered into the terminal is now checked cluster by cluster so odd characters cannot corrupt the display.
Details
- Variation selectors are stripped; bidi, format and non-printing code points are replaced with U+FFFD.
- Each grapheme's rendered width is validated against the running total, and mismatched clusters are replaced.
- A per-line budget truncates with
… [+N graphemes]. - Bash command previews and quoted snippets now run through the sanitizer.
Evidence
graphemes]
Strings lifted out of the shipped bundle, so the claim above can be checked against them.
See this entry in the whole of v2.1.223 →