mirror of
https://github.com/ghostty-org/ghostty.git
synced 2026-06-08 04:44:27 +00:00
As pointed out in #9156, an unintended consequence of all the work to get icon sizing right is that `adjust-icon-height` now only applies to the small icons you get when the next cell is not whitespace. Large icons are unaffected. With this PR, `adjust-icon-height` affects the maximum height of every symbol specifying the `.icon` constraint height, regardless of constraint width. This includes most Nerd Font icons, but excludes emoji and other unicode symbols, and also excludes terminal graphics-oriented Nerd Font symbols such as Powerline symbols. In the following screenshots, **Baseline** is without `adjust-icon-height`, while **Before** and **After** are with `adjust-icon-height = -25%`. **Baseline** <img width="711" height="95" alt="Screenshot 2025-10-11 at 23 28 20" src="https://github.com/user-attachments/assets/7499db4d-75a4-4dbd-b107-8cb5849e31a3" /> **Before** (only small icons affected) <img width="711" height="95" alt="Screenshot 2025-10-11 at 23 20 12" src="https://github.com/user-attachments/assets/9afd9fbf-ef25-44cc-9d8e-c39a69875163" /> **After** (both small and large icons affected, but not emoji) <img width="711" height="95" alt="Screenshot 2025-10-11 at 23 21 05" src="https://github.com/user-attachments/assets/90999f59-3b43-4684-9c8e-2c3c1edd6d18" />