Warp icon indicating copy to clipboard operation
Warp copied to clipboard

Font Ligatures + Prettify Symbols Mode?

Open harrisj opened this issue 3 years ago • 39 comments

Describe the solution you'd like?

This is obviously not urgent, but would it be possible to add a toggle to enable something like Emacs prettify-symbols mode for the terminal. This is a display mode that translates things like -> or != into Unicode characters for things like right arrow or the not-equals sign. Obviously, people might want to tweak this in different ways and it's a complicated feature, but it is pretty too!

Is your feature request related to a problem? Please describe.

No

Additional context

harrisj avatar Oct 01 '21 11:10 harrisj

Duplicate of #260

gagata avatar Oct 20 '21 22:10 gagata

I have a Monospace font that supports Ligatures Monoid HalfTight, and it is installed in my User's Font Book. Screenshot of the Font Book displaying some ligatures rendered in Monoid HalfTight

This font is not selectable in the Font picker in Warp. It would be lovely if available fonts could be selected!

fbartho avatar Jan 13 '22 23:01 fbartho

Also, fonts may have ligation sets to choose from. eg. ss07, HSKL of Iosevka: https://typeof.net/Iosevka/

VSCode allows settings like: "editor.fontLigatures": "'ss07', 'HSKL'", in addition to true/false. WezTerm allows settings like:

{
    family = "Iosevka Term",
    harfbuzz_features = {"calt=1", "clig=1", "liga=1", "ss07", "HSKL"},
}

emliunix avatar Apr 06 '22 19:04 emliunix

How is this not driving the devs mad. Assuming this is the reason n/vim looks like arse in Warp:

CleanShot 2022-06-04 at 14 25 23@2x

Top: Warp Bottom: Kitty

Padding on RH in Warp is weird as well and messes up the bufferline.

I hope the devs making a modern terminal aren't full-time VSCode users...

Amparose avatar Jun 04 '22 12:06 Amparose

No eta on ligatures.

@Amparose there are people on our team who use Vim. There are some vim improvements in the works. We're primarily tracking them in other issues thouugh.

elviskahoro avatar Jul 05 '22 05:07 elviskahoro

I don't mean to beat a dead horse and be that guy that just says "want this", but this feature is table stakes for me and will be the reason why I continue to use iterm2 instead.

blakedietz avatar Dec 27 '22 23:12 blakedietz

I don't mean to beat a dead horse and be that guy that just says "want this", but this feature is table stakes for me and will be the reason why I continue to use iterm2 instead.

same here, in 2023 still waiting for those improvements...

diegoulloao avatar Apr 23 '23 05:04 diegoulloao

@vorporeal will work on this eventually

elviskahoro avatar Apr 24 '23 16:04 elviskahoro

Any progress on this? Using things like Neovim and LazyGit is kinda awkward if you're used to ligature support.

thezacharytaylor avatar Jun 30 '23 17:06 thezacharytaylor

finally I decided to switched to iterm2 again 👀

diegoulloao avatar Jun 30 '23 19:06 diegoulloao

hey folks, this is on our radar, no promise on the eta, but we're aware of the request and trying to make it a reality 🤞

image

dannyneira avatar Jul 11 '23 21:07 dannyneira

Please, support cyrillic symbols over SSH image

sandzhaj avatar Oct 07 '23 16:10 sandzhaj

any updates here? i know that’s kinda only a “ahestical” issue but it really helps people who have dislexya and vision issues

also what @emliunix said a good points as some fonts like Ioveska, Fira Code and the new one Monaspace GitHub family fonts define custom sets of ligatures to enable/disable

zoedsoupe avatar Nov 10 '23 20:11 zoedsoupe

It's been already 2 years guys...👀

degouville avatar Nov 12 '23 20:11 degouville

Hi guys, any update for this?

itokun99 avatar Dec 01 '23 06:12 itokun99

2 years and 3 weeks now lol

More seriously as a developer this feature would be very appreciable, and more than only aestetical :)

walid-mos avatar Dec 06 '23 17:12 walid-mos

2 years, 3 weeks and 2 days.

Seriously considering going back to iTerm2.

juanlopez4691 avatar Dec 08 '23 23:12 juanlopez4691

We've completed some early work on ligature support, but there is still no ETA on the release. We'll be sure to update this thread when we have more to share.

dannyneira avatar Dec 09 '23 00:12 dannyneira

Take your time, it's an awesome terminal.

carlosvigil avatar Dec 12 '23 21:12 carlosvigil

image

how's it going? its ~6 months

daUnknownCoder avatar Feb 01 '24 08:02 daUnknownCoder

I'm not sure how but Fira Code ligature font is now selectable for me and I was able to use it just fine. Thanks Warp team!

Screenshot 2024-02-03 at 4 19 20 PM

clumsy avatar Feb 03 '24 21:02 clumsy

yeah, fira code works fine on the warp UI, but as soon as you try to use neovim or helix it stops to render ligatures. also so strange that only fira code is “supported”.

zoedsoupe avatar Feb 03 '24 22:02 zoedsoupe

Right @zoedsoupe , same with my helix and even echo output: Screenshot 2024-02-03 at 8 17 27 PM So it's just the terminal input that is working then (and the font being selectable).

clumsy avatar Feb 04 '24 01:02 clumsy

Only fira code works, and fonts patched with nerd symbols and icons and ligatures do not work either

daUnknownCoder avatar Feb 04 '24 02:02 daUnknownCoder

this is the whole thing: 2024-02-04-110328_hyprshot 2024-02-04-110322_hyprshot 2024-02-04-110239_hyprshot left kitty, right warp -> 2024-02-04-105936_hyprshot

daUnknownCoder avatar Feb 04 '24 10:02 daUnknownCoder

Screenshot_2024-02-22_16-00-12

This whole project is stupid. Warp is calling their terminal "modern" and doesn't even support the fonts of the gods with ligatures. My terminal will never be closed source. If you want a Rust terminal use alacritty, or use Kitty like god intended. If those aren't modern enough for you, you get a one way ticket to a gulag in Cupertino, Siberia. Free Software #RideOrDie And seriously, who opens a project on GitHub for a closed-source product just to use the issue-tracker so their wanna-be fad-riding userbase can pretend like they're not squares using a corporately owned terminal. This marketing is straight up Oracle 2.0.

Respect yourself. Install Debian: apt install kitty.

EvanCarroll avatar Feb 22 '24 17:02 EvanCarroll

Damn, that guy must be very angry with something in his own life.


Anyway, I should mention FiraCode wasn't selectable for me, but I can confirm that it shows ligatures only on input, and not all of them - e.g. != stayed that way, but === got joined together.

igorsantos07 avatar Feb 23 '24 16:02 igorsantos07

I'm not angry. I use Kitty and last night the light of heaven shown upon me so brightly I awoke from my slumber and came to spread the good word.

Hallowed is the Fira Code with Nerd font extensions and blessed are all those that use it. May their powerlevel10k forever inform them with font icons. May they forever use open source terminals lest their session be riddled with spyware that invades commercial closed source products. And may their not-equals always render as a single glyph without an exclamation point, which is always a mere punctuation mark as taught in grade school. Amen.

EvanCarroll avatar Feb 23 '24 17:02 EvanCarroll

Lovely terminal, but not supporting ligatures after so much time is odd.

adriangalilea avatar Apr 14 '24 21:04 adriangalilea

Update after update and we still don't get properly working ligatures? Really? 😓

juanlopez4691 avatar Apr 19 '24 18:04 juanlopez4691