Oh My Posh Problems in VS Code Terminal
d
Fine in Windows Terminal
I started getting a bunch of weird characters after the path in terminal in VS code: ``` \x1b[0m \x1b7\x1b[1000C\x1b[21D\x1b[38\x3b2\x3b89\x3b201\x3b165mīĸ˜ \x1b[0m\x1b[38\x3b2\x3b224\x3b222\x3b244min \x1b[0m\x1b[38\x3b2\x3b75\x3b149\x3b233m\x1b[1mpwsh\x1b[22m\x1b[0m\x1b[38\x3b2\x3b224\x3b222\x3b244m \x1b[0m\x1b[38\x3b2\x3b224\x3b222\x3b244mat \x1b[0m\x1b[38\x3b2\x3b75\x3b149\x3b233m\x1b[1m13:58:57\x1b[22m\x1b[0m\x1b8``
I'll let you know how I get on
l
Same here! I am following this issue: https://github.com/microsoft/vscode/issues/211922
d
I may not get to this today so it will be interesting to see if you find a solution. Was lovely to meeto you at CG as well btw
m
I have the same issue đŸ˜Ļ
l
Poor oh my posh dev... He keeps closing issues and linking to the one I sent. 😅 He gives a workaround while closing them: https://github.com/JanDeDobbeleer/oh-my-posh/issues/5114#issuecomment-2176316220. Haven't tried it yet though.
r
Apparently it's fixed in the vscode insiders build, and will be in the June release for stable
m
Nothing worse than the issue not been yours 😄
thankfully I use terminal most of the time
d
I think I can wait in that case 😊
Copy code
A new PowerShell stable release is available: v7.4.3
   Upgrade now, or check out the release page at:
     https://aka.ms/PowerShell-Release?tag=v7.4.3
r
Good news, I just updated vs code and the issue seems to be fixed!
d
Ooh cool. I just updated Powershell and all my posh disappeared.. But came back on reboot. Scott Hanselman has a lot to answer for! Will update VS Code 😊
All looking luverly and posh again
a
I've created issue for this as well around 2 weeks ago. Just disable shell integrations in VSCode and you should be ok.
d
It seems fine since the update
4 Views