Hacker News new | ask | show | jobs
by tyzoid 1 day ago
Terminals are often the place ligatures are most frustrating. In a text editor (vim, micro, etc.) or coding agent, ligatures can be nice. But general terminal use makes it annoying (hexdump output collapsing `..` into a multi-character ligature almost always looks wrong.)
1 comments

in what world is it preferable to have != look like ≠ (but still be != under the hood)?

if you want ≠ then type ≠

This is subjective. When writing code, I generally find ≠ more readable and my brain still automatically parses that it's actually !=. I've never had any problem with that. But I can see why others would feel differently. This is why code editors generally allow enabling / disabling ligatures.
i much rather be able to compose symbols with regular characters than to remember escape sequences for everything.
You can configure Compose in Linux (sadly not supported in all environments). For example, I can press AltGr and type -> and I get →. Just one extra keypress.
In Windows, you can use WinCompose, which takes X11-style compose files. You can do something the same in MacOS, using a script called compose2keybindings, and using Karabiner to rebind a Compose key. I do not know of similar solutions for Android and iOS.