I have just installed oh-my-posh on PowerShell Core 7.1.1 on Windows, and I'm using PowerShell in Windows Terminal. After switching to a git repository, the prompt shows like this:
Some characters are shown as boxes which should be triangles and the branch character like
I'm currently using Cascadia font, and I've also tried Meslo LG M Regular and a few other fonts, but nothing works. I've also set the encoding to UTF-8, and I can type Unicode characters in the command line and they are displayed correctly. Now I'm really stuck.
So could anyone help me with the problem? Thanks in advance.
question from:
https://stackoverflow.com/questions/66058894/unrendered-characters-in-oh-my-posh-prompt 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…