{"version":"2.1.223","anchor":"terminal-text-sanitizer-rewritten-around-grapheme-width-chec","canonical_anchor":"terminal-text-sanitizer-rewritten-around-grapheme-width-chec","heading":"Terminal text sanitizer rewritten around grapheme width checks","tier":"notice","area":"Terminal Rendering","scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.223\/e\/terminal-text-sanitizer-rewritten-around-grapheme-width-chec","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.223","markdown":"### Terminal text sanitizer rewritten around grapheme width checks\n\nWeird characters in output and command previews can no longer break your terminal layout.\n\n**What**\n\nText rendered into the terminal is now checked cluster by cluster so odd characters cannot corrupt the display.\n\n**Details**\n\n- Variation selectors are stripped; bidi, format and non-printing code points are replaced with U+FFFD.\n- Each grapheme's rendered width is validated against the running total, and mismatched clusters are replaced.\n- A per-line budget truncates with `\u2026 [+N graphemes]`.\n- Bash command previews and quoted snippets now run through the sanitizer.\n\n**Evidence**\n\n`graphemes]`\n\n- Area: Terminal Rendering\n- Tier: You'll notice\n- Useful: 4\/5\n- Signal: 0\/5"}