Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
695 views
in Technique[技术] by (71.8m points)

git - Unrendered characters in oh-my-posh prompt

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: enter image description here Some characters are shown as boxes which should be triangles and the branch character like enter image description here 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

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...