You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 4, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Nov 4, 2026. It is now read-only.
Reacted by Jeff Wilde, Terence Tuhinanshu, Slava Pavlutin, Matthew Hall, Mateu Cànaves, Janet, Dennis Padiernos, Amaël (r4dixx) Sikel, Lucas Menicucci, Grega Vrbančič and 17 more
At least on Windows 10, setting webGLRenderer: false in your config file will bring them back (assuming you still have the hyper-font-ligatures plugin installed). This will also fix some of the other rendering anomalies of v3, although sadly not all.
Reacted by Alex Petcoglo, Kevin Perez, Ivan Suñer, Elbert Castañeda, v1rtl, Matt Eding, Charlie Denton and Rob Light
Reacted by Amaël (r4dixx) Sikel, Haitam BOUKAA, Sergio Andrés Majé Franco, David Tudury, Mark Lyck and Aman Singh Chandel
@nurtext Because technically this bug was resolved. The ligatures work without WebGL renderer.
I think another issue should be created addressing this.
Reacted by Alan Ball, Ivan Suñer, Yunjie, Amaël (r4dixx) Sikel, Dennis Padiernos, Dustin L. Dodson, Jan Steinke, Punk Dev Robot, v1rtl, Jesse Jackson and 17 more
@orangecoloured I understand, but for me it's still open because turning off the newly introduced renderer isn't a valid fix. Ever tried tailing or cating some logs with the old renderer? It made Hyper almost useless for me. Now Hyper is back in the game (at least for me), but ligatures are a must have in 2019 IMHO.
Reacted by Alex Petcoglo, Tyler Hale, Mateu Cànaves, Janet, Yunjie, Amaël (r4dixx) Sikel, Dennis Padiernos, Dustin L. Dodson, Benjamin Pollack, Stef Kors and 8 more
So, based on this comment, looks like there's a fix for this in xterm.js. Would be really awesome to get that pulled in so ligatures will work without a performance hit.
However, the xterm fork used by Hyper is severely out of date: 56 commits ahead, 1290 commits behind.
Edit:Switching the fork for latest xTerm works... except the WebGL renderer is quite broken - I believe it should be possible to fix it but I haven't researched that much. Also, the fork contains valuable work that needs to be rebased on xterm@4.
Reacted by TANIGUCHI Masaya, Cedric Kastner and Mark Lyck
@LabhanshAgrawal has requested that we not enable WebGL + Ligatures in hyper directly, so I've instead opened a PR with hyper-font-ligatures that enables WebGL + Ligatures: tolbertam/hyper-font-ligatures#11
EDIT: As I'm playing with this again, I'm seeing more issues than I thought. Especially while using Vim. The WebGL + Ligature combination appears to be better than what's been released, but people should still be cautious when enabling both.
Well, I owe you an apology! iTerm2 doesn't use Metal (GPU accelerated rendering) if ligatures are enabled either. Apparently it's difficult to render ligatures given the current methods for rendering text on the GPU (remember that the GPU just knows about triangles and textures). But don't give up. Those ligatures look cool, lol.
xterm.js does support GPU rendering with ligatures now, last month I fixed some bugs in xterm.js and added official support to VS Code via the terminal.integrated.fontLigatures setting. Hyper was always on the very early support that had bugs that sat for years without getting any attention unfortunately.
@regisbsb not sure why it's not working, but yes if Hyper updates to the latest beta tag of @xterm/xterm and @xterm/addon-ligatures and removes the webgl restriction it would probably work just fine. I see Hyper is still on xterm/xterm-addon-ligatures so the update might be a little more involved than that.
Activity
mhall commentedon May 6, 2019
At least on Windows 10, setting
webGLRenderer: falsein your config file will bring them back (assuming you still have thehyper-font-ligaturesplugin installed). This will also fix some of the other rendering anomalies of v3, although sadly not all.[-]Font ligatures don't work[/-][+]Font ligatures don't work v3[/+]orangecoloured commentedon May 6, 2019
Oh. Yes, working now.
So, ligatures in exchange for performance :)
nurtext commentedon May 8, 2019
@orangecoloured So why did you close this bug?
orangecoloured commentedon May 8, 2019
@nurtext Because technically this bug was resolved. The ligatures work without WebGL renderer.
I think another issue should be created addressing this.
nurtext commentedon May 8, 2019
@orangecoloured I understand, but for me it's still open because turning off the newly introduced renderer isn't a valid fix. Ever tried
tailing orcating some logs with the old renderer? It made Hyper almost useless for me. Now Hyper is back in the game (at least for me), but ligatures are a must have in 2019 IMHO.mhall commentedon May 8, 2019
Yeah, I would recommend reopening this as well.
depadiernos commentedon Aug 5, 2019
So, based on this comment, looks like there's a fix for this in xterm.js. Would be really awesome to get that pulled in so ligatures will work without a performance hit.
GitSquared commentedon Sep 17, 2019
xTerm 4 supports this through the new Addon system: https://github.com/xtermjs/xterm-addon-ligatures
However, the xterm fork used by Hyper is severely out of date:
56 commits ahead, 1290 commits behind.Edit: Switching the fork for latest xTerm works... except the WebGL renderer is quite broken - I believe it should be possible to fix it but I haven't researched that much. Also, the fork contains valuable work that needs to be rebased on xterm@4.
nurtext commentedon Sep 27, 2019
@GitSquared Looks like they're already on it: #3830
Stanzilla commentedon Sep 27, 2019
@GitSquared our effort in that PR is currently stuck on broken resizing
GitSquared commentedon Oct 9, 2019
Now that #3830 has been merged, I'm sending a PR for enabling font ligatures.
47 remaining items
ryanerwin commentedon Jun 8, 2021
Using "
Hack Nerd Font" on Ubuntu 21.04 with Hyper 3.0.2, I'm getting the same powerline alignment issue that @altosaar reported.jezmck commentedon Aug 11, 2021
Not working for me with latest version on MacOS, and with no changes to the settings other than:
jacob-israel-turner commentedon Aug 24, 2021
I'm confused why this is still an issue - it seems that xterm.js has resolved most issues with ligatures:
xtermjs/xterm.js#3286
xtermjs/xterm.js#2847
Is there a bug in Hyper that's preventing ligatures from working?
Turning off WebGL is, unfortunately, a non-starter for a lot of us. The stuttering caused by using Vim in Canvas gives me a headache.
EDIT: Looks like we're just not enabling ligatures if webgl is enabled:
hyper/lib/components/term.tsx
Line 179 in dd0ae33
EDIT2: I tried updating that line to ignore the WebGL check, but ligatures still appear broken. Might need a core contributor to dig into this.
EDIT3: Figured it out, had wonky config locally. Here's a PR to enable ligatures with the WebGL renderer! #5888
CC: @Stanzilla @GitSquared since you both seemed invested in this issue.
Move to WebGL renderer
LabhanshAgrawal commentedon Aug 25, 2021
We're not enabling ligatures with webgl as it's causing issues with rendering #5757
Upgrade xterm-addon-ligatures for WebGL support
jacob-israel-turner commentedon Sep 5, 2021
@LabhanshAgrawal has requested that we not enable WebGL + Ligatures in
hyperdirectly, so I've instead opened a PR withhyper-font-ligaturesthat enables WebGL + Ligatures: tolbertam/hyper-font-ligatures#11EDIT: As I'm playing with this again, I'm seeing more issues than I thought. Especially while using Vim. The WebGL + Ligature combination appears to be better than what's been released, but people should still be cautious when enabling both.
thoernle commentedon Jun 5, 2023
Has this issue been resolved? This was the reason I stopped using Hyper
kizerkizer commentedon Dec 3, 2024
Unfortunate this was never fixed as I understand? Back to iTerm2 it is...
kizerkizer commentedon Dec 3, 2024
Well, I owe you an apology! iTerm2 doesn't use Metal (GPU accelerated rendering) if ligatures are enabled either. Apparently it's difficult to render ligatures given the current methods for rendering text on the GPU (remember that the GPU just knows about triangles and textures). But don't give up. Those ligatures look cool, lol.
Tyriar commentedon Dec 3, 2024
xterm.js does support GPU rendering with ligatures now, last month I fixed some bugs in xterm.js and added official support to VS Code via the
terminal.integrated.fontLigaturessetting. Hyper was always on the very early support that had bugs that sat for years without getting any attention unfortunately.regisbsb commentedon Dec 3, 2024
Does it mean that if hyper updates to the latest xterm it will get the "fix" for free?
Tyriar commentedon Dec 3, 2024
@regisbsb not sure why it's not working, but yes if Hyper updates to the latest beta tag of
@xterm/xtermand@xterm/addon-ligaturesand removes the webgl restriction it would probably work just fine. I see Hyper is still onxterm/xterm-addon-ligaturesso the update might be a little more involved than that.raidenxu commentedon Dec 15, 2024
{
fontFamily: '"CaskaydiaCove Nerd Font", "Fira Code",
webGLRenderer: false,
disableLigatures: false,
}
This works for me on macOS 15.2 (24C101)
