ConEmu
ConEmu copied to clipboard
Possible to display ligatures in shell?
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?
Ligatures support and more - in plans.
Ok, sounds like it's a conemu limitation then. Looking forward to that enhancement.
Maybe reopen this issue as feature request? To track progress
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.
3 months later, any update?
Not yet
That's fine. I have a more severe issue, will report in another "issue".
Any progress here? If not, why? What would be necessary to make ligatures work in conemu?
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.
BTW, there is the branch br-gdi where some work is done.
https://github.com/vim/vim/blob/master/src/gui_dwrite.cpp
Hello was just wondering if any progress has been made on this? Would love me some fira-code in my shell. :) Thanks
Any update?
@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?
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 :)
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. :)
I've created a draft issue gh-1608 where I will post the progress
Any progress in 2019?
Could you please tell, when approximately will it be done?
New year, new resolutions maybe? 😉
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.
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.
@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.
@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.
@pianocomposer321 Looks like we have different priorities in terminal emulator app, but I'll definitely give ConsoleZ a try!
@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.
Idk man. I really enjoy the readability I get from them.
@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.
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.
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.