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

Possible to display ligatures in shell? #703

Open
factormystic opened this issue May 29, 2016 · 38 comments
Open

Possible to display ligatures in shell? #703

factormystic opened this issue May 29, 2016 · 38 comments
Labels

Comments

@factormystic
Copy link

I would like to know if conemu can display ligatures a custom powershell prompt. I have set conemu's main console font to Fira Code (which includes ligatures), and I have set my custom powershell prompt to "-->" for testing. However, no ligature. I'm not sure if this is possible or which part (powershell, my custom prompt function, conemu) is the deficiency. Any idea how to do this?

@Maximus5
Copy link
Owner

Ligatures support and more - in plans.

@factormystic
Copy link
Author

Ok, sounds like it's a conemu limitation then. Looking forward to that enhancement.

@KindDragon
Copy link
Contributor

Maybe reopen this issue as feature request? To track progress

@Maximus5 Maximus5 reopened this Aug 27, 2016
@khuongduybui
Copy link

any plan to get to this soon?
I really like this Fira Code font and surprisingly can't live without it anymore, but ConEmu doesn't support it.
I really Bash on Ubuntu on Windows, but ConEmu is the only one that supports its arrow key mode.
My life is so gloomy.

@khuongduybui
Copy link

3 months later, any update?

@Maximus5
Copy link
Owner

Maximus5 commented Mar 8, 2017

Not yet

@khuongduybui
Copy link

That's fine. I have a more severe issue, will report in another "issue".

@gingters
Copy link

Any progress here? If not, why?
What would be necessary to make ligatures work in conemu?

@Maximus5
Copy link
Owner

I have long todo list.

Ligatures don't have priority. To be implemented, all ConEmu graphics have to be rewritten using interfaces. Than it would be easy to use any other API, e.g. DirectDraw, instead of GDI.

@Maximus5
Copy link
Owner

BTW, there is the branch br-gdi where some work is done.

@nelix
Copy link

nelix commented Sep 5, 2017

@aplocher
Copy link

Hello was just wondering if any progress has been made on this? Would love me some fira-code in my shell. :) Thanks

@forrestblade
Copy link

Any update?

@HipsterZipster
Copy link

@Maximus5 I love ligatures, but I obviously agree visual fluff takes a backseat to other issues.
Is it possible for you to give a high level overview of the necessary work and files that needs to change in order to add support for ligatures so that another contributor could potentially work on it?

@Maximus5
Copy link
Owner

There is branch https://github.com/Maximus5/ConEmu/tree/br-gdi where I make from time to time required changes.

In brief: all gdi calls in ConEmu code have to be moved to special classes like CDrawObjectFont.
After that it would be easy to implement new layer running on DirectWrite or even OpenGL :)

@serbrech
Copy link

serbrech commented Jun 13, 2018

Do you have a list of the changes required to be done?
It will be easier to jump in and help if there was a documented plan. :)

@Maximus5
Copy link
Owner

I've created a draft issue gh-1608 where I will post the progress

@ghost
Copy link

ghost commented Jan 15, 2019

Any progress in 2019?

@p4vook
Copy link

p4vook commented May 29, 2019

Could you please tell, when approximately will it be done?

@digeomel
Copy link

New year, new resolutions maybe? 😉

@pianocomposer321
Copy link

Honestly, this is the one thing keeping me from using ConEmu. I love the tabs support, and being able to make your own commands for custom terminals, but I really love ligature fonts, and until ConEmu gets support for them, I'll be looking for another solution.

@rooxie
Copy link

rooxie commented May 7, 2020

Honestly, this is the one thing keeping me from using ConEmu. I love the tabs support, and being able to make your own commands for custom terminals, but I really love ligature fonts, and until ConEmu gets support for them, I'll be looking for another solution.

What's your solution? Cuz, honestly, I don't know anything better than ConEmu on Windows.

@pianocomposer321
Copy link

pianocomposer321 commented May 7, 2020

@rooxie There's Windows Terminal. I know, I know, it's still in Alpha, but when the first stable release comes out, I'll be the first to try it out. Until then I'm using regular old cmd.exe. I know what you're thinking: "Um...cmd doesn't support ligatures either. Plus, it doesn't even have tabs". I know. The reason that I need ligatures is for use in the amazing terminal-residing editor, neovim. But until there's a decent, resource-friendly (i.e. not Terminus) terminal with ligature support, I'll be using the FVim GUI/front-end, which does support ligatures, and the native command prompt for my terminal. I have also tried ConsoleZ, which is basically ConEmu + ligatures, but for some reason, it doesn't have True Color support, so that's another no.

@mikolertesx
Copy link

@pianocomposer321 I was just using it, but I can't keep working with it because of Mongo issues.
I just posted an issue today about it.

@rooxie
Copy link

rooxie commented May 8, 2020

@pianocomposer321 Looks like we have different priorities in terminal emulator app, but I'll definitely give ConsoleZ a try!

@pianocomposer321
Copy link

@rooxie 👍.

Also, FWIW, I agree that there is (almost) no use for ligatures in a terminal emulator if that's all you use it for: as a terminal. In fact, the can kinda be an eyesore, with ligatures appearing where you don't want them. The only place I would use them is in an editor.

@mikolertesx
Copy link

Idk man. I really enjoy the readability I get from them.

@pianocomposer321
Copy link

@mikolertesx I may be missing something, but since when are shell commands so complex that they require ligatures to be readable? As I said before, I use cmd.exe rather than PowerShell, and I know the PowerShell supports more complex syntax and scripting, but I still don't think I've ever seen a PowerShell command that has many characters that have ligatures.

@mikolertesx
Copy link

Idk man, I remember seing a bunch from FiraCode while using MongoDB.
Since it's almost javascript like I guess.

We shouldn't be discussing here this pal, but have a good one :0.

@pianocomposer321
Copy link

Ok. If you're using the terminal for something other than just regular commands I can see why you'd want ligatures. I just don't have much use for them myself.

@baterflyrity
Copy link

Any progress here? Do we have this in plans?

@Maximus5
Copy link
Owner

I definitely has this in plans.
But my focus now is on bugs and PTY support.
And, well, some simple fixes it improvements.

@AuthorProxy
Copy link

Cannot use "Staship" prompt correctly without Fira Code :(

@cpkio
Copy link

cpkio commented Feb 9, 2022

Would like to crowdfund this change to ConEmu.

(I'm creating a fork of Cozette font with contextual alternates, I want to have contextual alternates in terminal with no font smoothing.)

@StephaneAdeso
Copy link

Any update on this?

@Vampire
Copy link

Vampire commented Apr 28, 2023

@Maximus5 will you any time work on this again?
It is not just ligatures.
It is also about some other font features that are not properly working.
If you for example use Fira Code with some of the stylistic sets enabled by default when building the font, ConEmu still displays the original glyphs instead of the replacements, and some characters are also not printed as if the font would support them like for example or 🥞 or 📨:
image

This can easily drag people away to alternatives like Windows Terminal of which I heard good things.
But I'm a very long-time ConEmu user and lover so I still hope you get this fixed up.

@Vampire
Copy link

Vampire commented Jun 1, 2023

Ok, too late for me. :-D
For anyone following, Windows Terminal really made up as a great replacement and is actively developed. :-)

@PaulDevenney
Copy link

I've loved conemu for many many years, and it has been the saviour of my windows terminal experience in a world of cmd.exe. Sadly I will now move to windows terminal, as it now covers pretty much everything that conemu led the way on (though it doesn't have separate transparency for active vs disabled!)

Rather than complain about a missing feature, I just want to thank @Maximus5 for his hard work and excellent product. Who knows, if conemu gets a big update I'd probably still go back.

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

No branches or pull requests