terminal icon indicating copy to clipboard operation
terminal copied to clipboard

Add an option to split font ligatures based on color change

Open ghost opened this issue 1 year ago • 1 comments

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.

ghost avatar Aug 26 '24 18:08 ghost

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 avatar Aug 26 '24 19:08 lhecker