logoalt Hacker News

bArrayyesterday at 3:17 PM2 repliesview on HN

For anyone using this terminal that hates != (and others) being turned into a single character, I have the following to turn off ligatures:

    font-feature = -dlig
    font-feature = -liga
    font-feature = -calt
This can be updated in `$HOME/.config/ghostty/config`.

Replies

mitchellhyesterday at 3:23 PM

Note in Ghostty 1.3 we disable discretionary ligatures (I think dlig/calt) by default as recommended by font standards. We still enable liga though that usually contains far less controversial ligatures.

sideeffffectyesterday at 4:48 PM

Or maybe you can solve it like I did -- by using a font that does the (IMHO) right thing with regards to ligatures

https://github.com/0xType/0xProto#4-ligatures-that-dont-defo...

I can't recommend 0xProto enough, the only thing I'm sorry about is that I didn't find it sooner :)

show 1 reply