Weird characters in output and command previews can no longer break your terminal layout.
What's wrong with this entry?
Text rendered into the terminal is now checked cluster by cluster so odd characters cannot corrupt the display.
- 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.
graphemes]
Strings lifted out of the shipped bundle, so the claim above can be checked against them.
Related
Other releases about the same thing. Found by shared names or similar wording; neither means one caused the other.
-
v2.1.234
Region marking can copy a mask instead of only filling it
Both mention rendering
-
v2.1.234
The scrolling list was rebuilt by the React compiler
Both mention rendering
-
v2.1.234
Unselectable terminal regions can now be cleared
Both mention rendering