mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-19 10:16:12 +03:00

This adds to the heuristics introduced for #1071. Please read that issue and associated PRs in their entirety to understand this commit. This extends our concept of "whitespace" to include powerline box glyphs. We don't want to constrain nerd symbols next to powerline box glyphs because box glyphs are often used to style and contain nerd glyphs. For example, its common to see a right-facing semi-circle, then a nerd font glyph, then a left-facing semi-circle to create a pill-shaped label. This allows those nerd font symbols to be rendered full size. Test script below (copy the bytes): printf "\n" printf " \n" printf "\n"