Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
687 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 Reply

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...