Add an option to split font ligatures based on color change #22165

Open
opened 2026-01-31 08:05:18 +00:00 by claunia · 1 comment
Owner

Originally created by @ghost on GitHub (Aug 26, 2024).

Description of the new feature/enhancement

I would like a feature to split font ligatures whenever there is a color change between the characters that make up a ligature. WezTerm does this as shown below.

Windows
image

Wezterm
image

Both are using JetBrains Mono Nerd Font.

Not sure if there is a feature request already for this.

Proposed technical implementation details (optional)

Ideally it would be on by default but a toggle option may be preferred.

Originally created by @ghost on GitHub (Aug 26, 2024). <!-- 🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨 I ACKNOWLEDGE THE FOLLOWING BEFORE PROCEEDING: 1. If I delete this entire template and go my own path, the core team may close my issue without further explanation or engagement. 2. If I list multiple bugs/concerns in this one issue, the core team may close my issue without further explanation or engagement. 3. If I write an issue that has many duplicates, the core team may close my issue without further explanation or engagement (and without necessarily spending time to find the exact duplicate ID number). 4. If I leave the title incomplete when filing the issue, the core team may close my issue without further explanation or engagement. 5. If I file something completely blank in the body, the core team may close my issue without further explanation or engagement. All good? Then proceed! --> # Description of the new feature/enhancement <!-- A clear and concise description of what the problem is that the new feature would solve. Describe why and how a user would use this new functionality (if applicable). --> I would like a feature to split font ligatures whenever there is a color change between the characters that make up a ligature. WezTerm does this as shown below. Windows <img width="176" alt="image" src="https://github.com/user-attachments/assets/91b9a4d1-b42c-4d2d-98b3-9a7d2ba37279"> Wezterm <img width="173" alt="image" src="https://github.com/user-attachments/assets/dbb751eb-b8de-4a81-b139-a187776a4f21"> Both are using JetBrains Mono Nerd Font. Not sure if there is a feature request already for this. # Proposed technical implementation details (optional) <!-- A clear and concise description of what you want to happen. --> Ideally it would be on by default but a toggle option may be preferred.
claunia added the Area-RenderingIssue-TaskProduct-Terminal labels 2026-01-31 08:05:19 +00:00
Author
Owner

@lhecker commented on GitHub (Aug 26, 2024):

We worked very hard on allowing color transitions across a ligature. That's an intentional feature and wasn't particularly easy to achieve. So unfortunately, I'd be against disabling that by default.

However, I'm absolutely open to adding a setting like that, in particular if other people would want this as well.

@lhecker commented on GitHub (Aug 26, 2024): We worked very hard on allowing color transitions across a ligature. That's an intentional feature and wasn't particularly easy to achieve. So unfortunately, I'd be against disabling that by default. However, I'm absolutely open to adding a setting like that, in particular if other people would want this as well.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#22165