Search code examples
c#fontsconsole-applicationpowerline

PowerLine fonts in Console Apps


i'm working on a console app that recreates CMD in Windows. I want to support powerline fonts, but couldn't find the standard charaters used to display the arrows. Is there a list with all the default arrow types? Thanks!

Example of terminal with powerline font and arrows.


Solution

  • I did more research, so apparently you need to enable unicode in the console window: Console.OutputEncoding = System.Text.Encoding.UTF8;, and then you can use unicode symbols.