Closed TobiLostInCode closed 4 months ago
@TobiLostInCode bug in vscode, they are fixing it.
This issue has been automatically locked since there has not been any recent activity (i.e. last half year) after it was closed. It helps our maintainers focus on the active issues. If you have found a problem that seems similar, please open a discussion first, complete the body with all the details necessary to reproduce, and mention this issue as reference.
Code of Conduct
What happened?
When I open up a new Powershell in VSCode the left side of the theme is displayed correctly, but the right side is not.
After I execute "oh-my-posh init pwsh --config 'https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/jandedobbeleer.omp.json' | Invoke-Expression " again everything is displayed as expected.
My Powershell profile is: Import-Module -Name Terminal-Icons Set-PSReadLineOption -PredictionSource History Set-PSReadLineOption -PredictionViewStyle ListView Set-PSReadLineOption -EditMode Windows oh-my-posh init pwsh --config 'https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/jandedobbeleer.omp.json' | Invoke-Expression
When I open Terminal everything works as expected right from the get go
I though it might be the encoding problem with Powershell 7.4 mentioned in the FAQ, so I added " [Console]::OutputEncoding = [Text.Encoding]::UTF8 " to my profile a line before oh-my-posh init, but that did't change anything.
It still might just be configuration issue on my side, but i would be gratefull for any help
Theme
https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/jandedobbeleer.omp.json
What OS are you seeing the problem on?
Windows
Which shell are you using?
powershell
Log output