Skip to content
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

Feature Request: Ligature support for infinite dashes, hyphens and equals #351

Open
hankertrix opened this issue Mar 1, 2025 · 5 comments

Comments

@hankertrix
Copy link

Some programming fonts like Fira Code and Cascadia Code support infinite dashes, hyphens and equals as they are often used in CLI apps to display loading. It would be great if Maple Mono supports these as well!

Fira code:

Image

Image

Cascadia Code:

Image

@subframe7536
Copy link
Owner

It has been discussed and currently I am negative on this feature: #293 (comment)

Can you share your use case?

@hankertrix
Copy link
Author

Ohhh.

Sure, my main use case is to have nicer-looking Markdown tables:

| Test | Result |
| ---- | ------ |
| 1    | Pass   |
| 2    | Failed |
| 3    | Failed |
| 4    | Pass   |

If the lines are connected it looks nicer, in my opinion, as shown with Cascadia Code below:

Image

Versus Maple Mono:

Image

Another big use case is progress bars, as shown with Cascadia Code below:

Image

Versus Maple Mono:

Image

@subframe7536
Copy link
Owner

Fair enough. I will try it after v7.1 released.

Note: FiraCode's implemention in hyphen arrow and equal arrow

@hankertrix
Copy link
Author

That's awesome! Thank you!

@Cyberczy
Copy link
Contributor

Cyberczy commented Mar 2, 2025

I also want to add this. This style looks better in duf and tokei.

Maple Mono:

Image

Cascadia Code:

Image

Besides, I hope Maple Mono can look like it does in the duf demo image.

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants