You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
OhMyPosh themes with arrows render gaps before arrow character #633
Your Windows build number: (Type ver at a Windows Command Prompt)
Windows 10 18362.30 (Enterprise)
oh-my-posh 2.0.263 - agnoster theme
posh-git 0.7.3
Screenshots taken using Nerd Fonts Inconsolata NF, also tried using FuraCode NF with same results.
I am using a build from master as of ~11am PDT today.
What you're doing and what's happening: (Copy & paste specific commands and their output, or include screen shots) Windows Terminal Fluent Terminal (expected result)
What's wrong / what should be happening instead:
Arrow characters on powerline should be getting rendered a few pixels to the left, so colour gaps aren't visible (see Fluent Terminal screenshot). Screenshots taken using agnoster theme, but the same happens on other themes utilising those arrows - Paradox and Fish. No issues noticed on themes that don't render this arrow character. https://github.com/JanDeDobbeleer/oh-my-posh#themes
Edit: removed ohmyposh disabled screenshot, as that doesn't relate to this issue but to the other one I just opened.
Reacted by Tulis, Richard Slater, Evandro Felippe, Jeff Principe, Marco Ravicini, YoungSeok (Leo) Yoon, William Zhang, Sayyed Ehsan Taheri Javid, Martin Gill, Jared Reisinger and 3 more
Hi,
I got the same issue here using patched nerd font UbuntuMono NF from here
using agnoster theme in zsh
Also tried with different patched nerd fonts like SpaceMono NF, RobotoMono NF and DejaVuSansMono NF, all with the same issue
I'm using the latest master as of right now, with HEAD at 900d0c3
As you can see first lettter of the command (like c from cd and l from ls) is not rendered
(or rather I guess it's blocked by the charater to the left that looks like this one: ▶)
I was able to solve this issue by installing the 'Windows Compatible' version of the nerd font, for example Droid Sans Mono Nerd Font Complete Windows Compatible.otf, and then set the fontFace to DroidSansMono NF.
Me and my colleagues had a bunch of issues with this but it worked for one of us. We're using my LovelyPowershell modules which installs the latest Hack NF fonts from the nerd-fonts master.
Turns out those of us that had issues had older versions of the font. The latest on nerd-fonts master makes this issue go away. We're using the Complete Mono Windows Compatible versions.
🎉🎉🎉
Edit: If you try the fonts from the master branch then make sure that the old ones are actually uninstalled.
I was able to get the powerline fonts and symbols working by using the settings from #633 (comment) above. However, the colors do not match what I expect them to. I also have the wsltty installed which outputs the correct colors. Has anyone been able to get windows terminal to output the right colors? Or know which setting I should change?
I have the same problem, it was working fine yesterday and I changed nothing. Opening the terminal for the first time looks like that, and after that, it just works normally. Does anyone know a solution? I tried all suggested fixes above and yet none worked
Activity
zadjii-msft commentedon May 9, 2019
Seems like a thing Michael Niksa (@miniksa) might know about
miniksa commentedon May 21, 2019
I don't strictly know why this is, but it's probably a renderer thing so I'll self-assign for now.
wenbozzz commentedon Jun 19, 2019
Hi,
I got the same issue here using patched nerd font
UbuntuMono NFfrom hereusing agnoster theme in zsh
Also tried with different patched nerd fonts like
SpaceMono NF,RobotoMono NFandDejaVuSansMono NF, all with the same issueI'm using the latest master as of right now, with HEAD at 900d0c3
As you can see first lettter of the command (like
cfromcdandlfromls) is not rendered(or rather I guess it's blocked by the charater to the left that looks like this one: ▶)
settings of the ubuntu terminal as below:
{ "acrylicOpacity" : 0.5, "closeOnExit" : true, "colorScheme" : "Campbell", "commandline" : "wsl.exe -d Ubuntu", "cursorColor" : "#FFFFFF", "cursorShape" : "bar", "fontFace" : "UbuntuMono NF", "fontSize" : 10, "guid" : "{2c4de342-38b7-51cf-b940-2309a097f518}", "historySize" : 9001, "icon" : "ms-appx:///ProfileIcons/{9acb9455-ca41-5af7-950f-6bca1bc9722f}.png", "name" : "Ubuntu", "padding" : "0, 0, 0, 0", "startingDirectory" : "%USERPROFILE%", "snapOnInput" : true, "useAcrylic" : false }Update:

It's seems the character is rendered just fine with the original font (the one that's not nerd font patched)
{ "acrylicOpacity" : 0.5, "closeOnExit" : true, "colorScheme" : "Campbell", "commandline" : "wsl.exe -d Ubuntu", "cursorColor" : "#FFFFFF", "cursorShape" : "bar", "fontFace" : "Roboto Mono for Powerline", "fontSize" : 10, "guid" : "{2c4de342-38b7-51cf-b940-2309a097f518}", "historySize" : 9001, "icon" : "ms-appx:///ProfileIcons/{9acb9455-ca41-5af7-950f-6bca1bc9722f}.png", "name" : "Ubuntu", "padding" : "0, 0, 0, 0", "snapOnInput" : true, "useAcrylic" : false }efelippe commentedon Jun 26, 2019
Same issue using zsh/oh-my-zsh with powerlevel9k theme

I'm using "Sauce Code Powerline" font (patched from nerd-fonts).
Also tried with others fonts from Powerline patched fonts
JayXon commentedon Jul 13, 2019
I was able to solve this issue by installing the 'Windows Compatible' version of the nerd font, for example
Droid Sans Mono Nerd Font Complete Windows Compatible.otf, and then set thefontFacetoDroidSansMono NF.6 remaining items
krokofant commentedon Oct 2, 2019
Me and my colleagues had a bunch of issues with this but it worked for one of us. We're using my LovelyPowershell modules which installs the latest Hack NF fonts from the nerd-fonts master.
Turns out those of us that had issues had older versions of the font. The latest on nerd-fonts master makes this issue go away. We're using the Complete Mono Windows Compatible versions.
🎉🎉🎉
Edit: If you try the fonts from the master branch then make sure that the old ones are actually uninstalled.
utybo commentedon Oct 24, 2019
Isn't this fixed by the latest release? The arrows seem to work fine for me now
hchokshi commentedon Oct 24, 2019
I am also seeing this as fixed in yesterday's Github release.
es50678 commentedon Nov 21, 2019
I was able to get the powerline fonts and symbols working by using the settings from #633 (comment) above. However, the colors do not match what I expect them to. I also have the wsltty installed which outputs the correct colors. Has anyone been able to get windows terminal to output the right colors? Or know which setting I should change?
fle108 commentedon Nov 21, 2019
use colortool :
https://github.com/Microsoft/Terminal/tree/master/src/tools/ColorTool
utybo commentedon Nov 21, 2019
Eduardo Soto (@es50678) you can change the color scheme used by the terminal in your settings, check here for details
miniksa commentedon Nov 22, 2019
Confirmed with Dustin L. Howett (MSFT) (@DHowett-MSFT) that this should be resolved in the upcoming release thanks to #2066. Resolving.
ofarukcaki commentedon Dec 31, 2021
I have the same problem, it was working fine yesterday and I changed nothing. Opening the terminal for the first time looks like that, and after that, it just works normally. Does anyone know a solution? I tried all suggested fixes above and yet none worked
Edit: Found out it is a windows terminal problem, a temporary workaround worked: JanDeDobbeleer/oh-my-posh#172 (comment)
MuktadirHassan commentedon Feb 18, 2022
Still persists on the latest version of terminal.

Windows Terminal
Version: 1.11.3471.0
Windows 11 Version 21H2 Build 22000.527
Workaround is to add
at the end in .bashrc if you are using bash.
zadjii-msft commentedon Feb 18, 2022
Muktadir Hassan (@MuktadirHassan) We're actually tracking that particular issue over in #8341