-
Notifications
You must be signed in to change notification settings - Fork 3.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Method to enable font ligatures in the 2.0.0 series #2793
Comments
Thanks @chaseleinart . I'll go ahead and close this issue then. |
Looks like they published an official addon to enable font ligatures support: https://github.com/xtermjs/xterm-addon-ligatures |
@sirwindfield Great catch! I just built hyper locally with that addon. I had to precompile the library (because it's typescript) and I ended up throwing it in the lib directory, but I was able to get ligatures working. If I can figure out a better way to include this change and get it building, I'll submit a PR! @mapitman We may want to reopen this now that it's been shown to work with the addon from xterm. |
@BenMcH you can use https://www.npmjs.com/package/hyper-font-ligatures which adds the xterm plugin for you 🎉 InstallationUsing the built-in Hyper plugin manager$ hyper i hyper-font-ligatures Using the .hyper.js fileOpen the plugins: ['hyper-font-ligatures'], In both cases, a 'Full Reload' ( |
Keep in mind this is very much in the early stages as it's using a beta build of the ligatures addon. We're still finalized on the API exposed in xterm.js, which means this might break at one point (and need xterm-addon-ligatures updated). |
Issue
All of the methods I've found for enabling font ligatures do not work in the 2.0.0 series of releases. Is there an example of the correct CSS for 2.0.0?
The text was updated successfully, but these errors were encountered: