You are not logged in.

#1 2018-08-12 11:56:48

skongshoj
Member
Registered: 2015-03-30
Posts: 12

Ligatures in qterminal or kitty?

Greetings gentlebeings,

I wanted to experiment with programming ligatures a la Fira Code or Hasklig, and so installed two terminals that supposedly support these: QTerminal and Kitty.

Unfortunately, it doesn't seem to work: I've set both to use Fira Code, but they don't render ligatures at all. I can't find any configuration options for enabling ligatures, so it appears they're supposed to "just work".

I'm using a simple bspwm setup without anything fancy. Is there something obvious I'm likely to be missing?

Offline

#2 2018-08-13 18:32:17

randomguy
Member
Registered: 2007-06-19
Posts: 101

Re: Ligatures in qterminal or kitty?

Okay AFAIS those fonts provide ligatures for certain operators and statements like =<, -> and others? I would find it odd, if a terminal emulator would do this by default. Thus I expect it to not "just work". On the other hand I don't know certainly what triggers ligatures to be displayed. I would look into topics like fontconfig or poppler.

Generally: Is it worth it? Doesn't it add additional cognitive load during programming when you ask yourself is this a ligature or an actual UTF character?

Offline

Board footer

Powered by FluxBB