vercel / hyper

A terminal built on web technologies
https://hyper.is
MIT License
43.33k stars 3.52k forks source link

how to enable ligatures #874

Closed tkizm1 closed 8 years ago

tkizm1 commented 8 years ago

any instructions?

dak0rn commented 8 years ago

On 0.7.1 ligatures worked for the with Hasklig. After upgrading to 0.8.1, they are not shown anymore.

iamstarkov commented 8 years ago

there is font-variant-ligatures: none; defined on <x-screen />

iamstarkov commented 8 years ago

to fix add this to your config

    // custom css to embed in the terminal window
    termCSS: `
      x-screen x-row {
        font-variant-ligatures: initial;
        // background-color: black;
      }
    `,
dak0rn commented 8 years ago

That works, thanks for the advice!

Why has it been disabled in the first place, though? Any disadvantages?

iamstarkov commented 8 years ago

Why has it been disabled in the first place, though?

dunno, found about it from this issue also

tkizm1 commented 8 years ago

ok, now it works

timothyjoh commented 6 years ago

This seems to have broken again recently. The above fix does not work anymore. Any ideas why?

albinekb commented 6 years ago

See https://github.com/zeit/hyper/issues/2864#issuecomment-382430626 @jhnsntmthy