JanDeDobbeleer / oh-my-posh

The most customisable and low-latency cross platform/shell prompt renderer
https://ohmyposh.dev
MIT License
17.37k stars 2.38k forks source link

Doesnt render properly on VSCode #2198

Closed kxviel closed 2 years ago

kxviel commented 2 years ago

Code of Conduct

What happened?

The proper rendering on my terminal: image

The glitch on my vscode terminal: image

Theme

The theme is bubbles.omp

What OS are you seeing the problem on?

Windows

Which shell are you using?

powershell

Log output

Version: 7.75.0

Segments:

ConsoleTitle(false)  -   2 ms - 
session(true)        -   1 ms - kevka 
path(true)           -   2 ms -  Desktop
git(false)           -  19 ms - 
python(false)        -   0 ms - 
go(false)            -   0 ms - 
node(false)          -   0 ms - 
ruby(false)          -   0 ms - 
java(false)          -   2 ms - 
julia(false)         -   0 ms - 
battery(true)        -  13 ms -  ⇣ 17
executiontime(false) -   0 ms - 
text(true)           -   4 ms - ❯

Run duration: 51.7286ms

Cache path: C:\Users\kevka\AppData\Local\oh-my-posh

Logs:

2022/04/30 22:23:05 Flags duration: 0s, args:
2022/04/30 22:23:05 Flags duration: 0s, args:
2022/04/30 22:23:05 debug: Getenv

2022/04/30 22:23:05 Getenv duration: 0s, args: OMP_CACHE_DISABLED
2022/04/30 22:23:05 Root duration: 0s, args:
2022/04/30 22:23:05 Shell duration: 0s, args:
2022/04/30 22:23:05 ErrorCode duration: 0s, args:
2022/04/30 22:23:05 IsWsl duration: 0s, args:
2022/04/30 22:23:05 debug: Pwd
C:\Users\kevka\Desktop
2022/04/30 22:23:05 Pwd duration: 0s, args:
2022/04/30 22:23:05 debug: Home
C:\Users\kevka
2022/04/30 22:23:05 PathSeparator duration: 0s, args:
2022/04/30 22:23:05 PathSeparator duration: 0s, args:
2022/04/30 22:23:05 PathSeparator duration: 0s, args:
2022/04/30 22:23:05 PathSeparator duration: 0s, args:
2022/04/30 22:23:05 PathSeparator duration: 0s, args:
2022/04/30 22:23:05 PathSeparator duration: 0s, args:
2022/04/30 22:23:05 PathSeparator duration: 0s, args:
2022/04/30 22:23:05 PathSeparator duration: 0s, args:
2022/04/30 22:23:05 PathSeparator duration: 0s, args:
2022/04/30 22:23:05 debug: User
kevka
2022/04/30 22:23:05 User duration: 0s, args:
2022/04/30 22:23:05 debug: Host
kanae
2022/04/30 22:23:05 Host duration: 0s, args:
2022/04/30 22:23:05 GOOS duration: 0s, args:
2022/04/30 22:23:05 TemplateCache duration: 1.0026ms, args:
2022/04/30 22:23:05 debug: Pwd
C:\Users\kevka\Desktop
2022/04/30 22:23:05 Pwd duration: 0s, args:
2022/04/30 22:23:05 debug: Home
C:\Users\kevka
2022/04/30 22:23:05 GOOS duration: 0s, args:
2022/04/30 22:23:05 debug: Getenv

2022/04/30 22:23:05 Getenv duration: 0s, args: SSH_CONNECTION
2022/04/30 22:23:05 debug: Getenv

2022/04/30 22:23:05 Getenv duration: 0s, args: SSH_CLIENT
2022/04/30 22:23:05 TemplateCache duration: 0s, args:
2022/04/30 22:23:05 debug: Pwd
C:\Users\kevka\Desktop
2022/04/30 22:23:05 Pwd duration: 0s, args:
2022/04/30 22:23:05 debug: Home
C:\Users\kevka
2022/04/30 22:23:05 GOOS duration: 0s, args:
2022/04/30 22:23:05 debug: Pwd
C:\Users\kevka\Desktop
2022/04/30 22:23:05 Pwd duration: 0s, args:
2022/04/30 22:23:05 Flags duration: 0s, args:
2022/04/30 22:23:05 debug: Pwd
C:\Users\kevka\Desktop
2022/04/30 22:23:05 Pwd duration: 0s, args:
2022/04/30 22:23:05 debug: Home
C:\Users\kevka
2022/04/30 22:23:05 GOOS duration: 0s, args:
2022/04/30 22:23:05 GOOS duration: 0s, args:
2022/04/30 22:23:05 PathSeparator duration: 0s, args:
2022/04/30 22:23:05 PathSeparator duration: 0s, args:
2022/04/30 22:23:05 PathSeparator duration: 0s, args:
2022/04/30 22:23:05 PathSeparator duration: 0s, args:
2022/04/30 22:23:05 PathSeparator duration: 0s, args:
2022/04/30 22:23:05 PathSeparator duration: 0s, args:
2022/04/30 22:23:05 PathSeparator duration: 0s, args:
2022/04/30 22:23:05 PathSeparator duration: 0s, args:
2022/04/30 22:23:05 PathSeparator duration: 0s, args:
2022/04/30 22:23:05 PathSeparator duration: 0s, args:
2022/04/30 22:23:05 GOOS duration: 0s, args:
2022/04/30 22:23:05 IsWsl duration: 0s, args:
2022/04/30 22:23:05 StackCount duration: 0s, args:
2022/04/30 22:23:05 TemplateCache duration: 0s, args:
2022/04/30 22:23:05 debug: Pwd
C:\Users\kevka\Desktop
2022/04/30 22:23:05 Pwd duration: 0s, args:
2022/04/30 22:23:05 debug: Home
C:\Users\kevka
2022/04/30 22:23:05 GOOS duration: 0s, args:
2022/04/30 22:23:05 GOOS duration: 0s, args:
2022/04/30 22:23:05 HasCommand duration: 18.8128ms, args: git.exe
2022/04/30 22:23:05 debug: Pwd
C:\Users\kevka\Desktop
2022/04/30 22:23:05 Pwd duration: 0s, args:
2022/04/30 22:23:05 error: HasParentFilePath
CreateFile C:\.git: The system cannot find the file specified.
2022/04/30 22:23:05 HasParentFilePath duration: 1.0251ms, args: .git
2022/04/30 22:23:05 debug: Pwd
C:\Users\kevka\Desktop
2022/04/30 22:23:05 Pwd duration: 0s, args:
2022/04/30 22:23:05 debug: Home
C:\Users\kevka
2022/04/30 22:23:05 GOOS duration: 0s, args:
2022/04/30 22:23:05 debug: Pwd
C:\Users\kevka\Desktop
2022/04/30 22:23:05 Pwd duration: 0s, args:
2022/04/30 22:23:05 debug: Home
C:\Users\kevka
2022/04/30 22:23:05 debug: Getenv

2022/04/30 22:23:05 Getenv duration: 0s, args: VIRTUAL_ENV
2022/04/30 22:23:05 debug: Getenv

2022/04/30 22:23:05 Getenv duration: 0s, args: CONDA_ENV_PATH
2022/04/30 22:23:05 debug: Getenv

2022/04/30 22:23:05 Getenv duration: 0s, args: CONDA_DEFAULT_ENV
2022/04/30 22:23:05 debug: Pwd
C:\Users\kevka\Desktop
2022/04/30 22:23:05 Pwd duration: 0s, args:
2022/04/30 22:23:05 debug: Home
C:\Users\kevka
2022/04/30 22:23:05 GOOS duration: 0s, args:
2022/04/30 22:23:05 debug: Pwd
C:\Users\kevka\Desktop
2022/04/30 22:23:05 Pwd duration: 0s, args:
2022/04/30 22:23:05 debug: Home
C:\Users\kevka
2022/04/30 22:23:05 debug: Pwd
C:\Users\kevka\Desktop
2022/04/30 22:23:05 Pwd duration: 0s, args:
2022/04/30 22:23:05 PathSeparator duration: 0s, args:
2022/04/30 22:23:05 debug: HasFiles
false
2022/04/30 22:23:05 HasFiles duration: 0s, args: *.go
2022/04/30 22:23:05 debug: Pwd
C:\Users\kevka\Desktop
2022/04/30 22:23:05 Pwd duration: 0s, args:
2022/04/30 22:23:05 PathSeparator duration: 0s, args:
2022/04/30 22:23:05 debug: HasFiles
false
2022/04/30 22:23:05 HasFiles duration: 969.7µs, args: go.mod
2022/04/30 22:23:05 debug: Pwd
C:\Users\kevka\Desktop
2022/04/30 22:23:05 Pwd duration: 0s, args:
2022/04/30 22:23:05 debug: Home
C:\Users\kevka
2022/04/30 22:23:05 GOOS duration: 0s, args:
2022/04/30 22:23:05 debug: Pwd
C:\Users\kevka\Desktop
2022/04/30 22:23:05 Pwd duration: 0s, args:
2022/04/30 22:23:05 debug: Home
C:\Users\kevka
2022/04/30 22:23:05 debug: Pwd
C:\Users\kevka\Desktop
2022/04/30 22:23:05 Pwd duration: 0s, args:
2022/04/30 22:23:05 PathSeparator duration: 0s, args:
2022/04/30 22:23:05 debug: HasFiles
false
2022/04/30 22:23:05 HasFiles duration: 0s, args: *.js
2022/04/30 22:23:05 debug: Pwd
C:\Users\kevka\Desktop
2022/04/30 22:23:05 Pwd duration: 0s, args:
2022/04/30 22:23:05 PathSeparator duration: 0s, args:
2022/04/30 22:23:05 debug: HasFiles
false
2022/04/30 22:23:05 HasFiles duration: 0s, args: *.ts
2022/04/30 22:23:05 debug: Pwd
C:\Users\kevka\Desktop
2022/04/30 22:23:05 Pwd duration: 0s, args:
2022/04/30 22:23:05 PathSeparator duration: 0s, args:
2022/04/30 22:23:05 debug: HasFiles
false
2022/04/30 22:23:05 HasFiles duration: 997.7µs, args: package.json
2022/04/30 22:23:05 debug: Pwd
C:\Users\kevka\Desktop
2022/04/30 22:23:05 Pwd duration: 0s, args:
2022/04/30 22:23:05 PathSeparator duration: 0s, args:
2022/04/30 22:23:05 debug: HasFiles
false
2022/04/30 22:23:05 HasFiles duration: 0s, args: .nvmrc
2022/04/30 22:23:05 debug: Pwd
C:\Users\kevka\Desktop
2022/04/30 22:23:05 Pwd duration: 0s, args:
2022/04/30 22:23:05 PathSeparator duration: 0s, args:
2022/04/30 22:23:05 debug: HasFiles
false
2022/04/30 22:23:05 HasFiles duration: 0s, args: pnpm-workspace.yaml
2022/04/30 22:23:05 debug: Pwd
C:\Users\kevka\Desktop
2022/04/30 22:23:05 Pwd duration: 0s, args:
2022/04/30 22:23:05 PathSeparator duration: 0s, args:
2022/04/30 22:23:05 debug: HasFiles
false
2022/04/30 22:23:05 HasFiles duration: 0s, args: .pnpmfile.cjs
2022/04/30 22:23:05 debug: Pwd
C:\Users\kevka\Desktop
2022/04/30 22:23:05 Pwd duration: 0s, args:
2022/04/30 22:23:05 PathSeparator duration: 0s, args:
2022/04/30 22:23:05 debug: HasFiles
false
2022/04/30 22:23:05 HasFiles duration: 0s, args: .npmrc
2022/04/30 22:23:05 debug: Pwd
C:\Users\kevka\Desktop
2022/04/30 22:23:05 Pwd duration: 0s, args:
2022/04/30 22:23:05 PathSeparator duration: 0s, args:
2022/04/30 22:23:05 debug: HasFiles
false
2022/04/30 22:23:05 HasFiles duration: 0s, args: .vue
2022/04/30 22:23:05 debug: Pwd
C:\Users\kevka\Desktop
2022/04/30 22:23:05 Pwd duration: 0s, args:
2022/04/30 22:23:05 debug: Home
C:\Users\kevka
2022/04/30 22:23:05 GOOS duration: 0s, args:
2022/04/30 22:23:05 debug: Pwd
C:\Users\kevka\Desktop
2022/04/30 22:23:05 Pwd duration: 0s, args:
2022/04/30 22:23:05 debug: Home
C:\Users\kevka
2022/04/30 22:23:05 debug: Pwd
C:\Users\kevka\Desktop
2022/04/30 22:23:05 Pwd duration: 0s, args:
2022/04/30 22:23:05 PathSeparator duration: 0s, args:
2022/04/30 22:23:05 debug: HasFiles
false
2022/04/30 22:23:05 HasFiles duration: 997.1µs, args: *.rb
2022/04/30 22:23:05 debug: Pwd
C:\Users\kevka\Desktop
2022/04/30 22:23:05 Pwd duration: 0s, args:
2022/04/30 22:23:05 PathSeparator duration: 0s, args:
2022/04/30 22:23:05 debug: HasFiles
false
2022/04/30 22:23:05 HasFiles duration: 0s, args: Rakefile
2022/04/30 22:23:05 debug: Pwd
C:\Users\kevka\Desktop
2022/04/30 22:23:05 Pwd duration: 0s, args:
2022/04/30 22:23:05 PathSeparator duration: 0s, args:
2022/04/30 22:23:05 debug: HasFiles
false
2022/04/30 22:23:05 HasFiles duration: 0s, args: Gemfile
2022/04/30 22:23:05 debug: Getenv

2022/04/30 22:23:05 Getenv duration: 0s, args: JAVA_HOME
2022/04/30 22:23:05 debug: Pwd
C:\Users\kevka\Desktop
2022/04/30 22:23:05 Pwd duration: 0s, args:
2022/04/30 22:23:05 debug: Home
C:\Users\kevka
2022/04/30 22:23:05 GOOS duration: 0s, args:
2022/04/30 22:23:05 debug: Pwd
C:\Users\kevka\Desktop
2022/04/30 22:23:05 Pwd duration: 0s, args:
2022/04/30 22:23:05 debug: Home
C:\Users\kevka
2022/04/30 22:23:05 debug: Pwd
C:\Users\kevka\Desktop
2022/04/30 22:23:05 Pwd duration: 0s, args:
2022/04/30 22:23:05 PathSeparator duration: 0s, args:
2022/04/30 22:23:05 debug: HasFiles
false
2022/04/30 22:23:05 HasFiles duration: 0s, args: pom.xml
2022/04/30 22:23:05 debug: Pwd
C:\Users\kevka\Desktop
2022/04/30 22:23:05 Pwd duration: 0s, args:
2022/04/30 22:23:05 PathSeparator duration: 0s, args:
2022/04/30 22:23:05 debug: HasFiles
false
2022/04/30 22:23:05 HasFiles duration: 0s, args: build.gradle.kts
2022/04/30 22:23:05 debug: Pwd
C:\Users\kevka\Desktop
2022/04/30 22:23:05 Pwd duration: 0s, args:
2022/04/30 22:23:05 PathSeparator duration: 0s, args:
2022/04/30 22:23:05 debug: HasFiles
false
2022/04/30 22:23:05 HasFiles duration: 0s, args: build.sbt
2022/04/30 22:23:05 debug: Pwd
C:\Users\kevka\Desktop
2022/04/30 22:23:05 Pwd duration: 0s, args:
2022/04/30 22:23:05 PathSeparator duration: 0s, args:
2022/04/30 22:23:05 debug: HasFiles
false
2022/04/30 22:23:05 HasFiles duration: 0s, args: .java-version
2022/04/30 22:23:05 debug: Pwd
C:\Users\kevka\Desktop
2022/04/30 22:23:05 Pwd duration: 0s, args:
2022/04/30 22:23:05 PathSeparator duration: 0s, args:
2022/04/30 22:23:05 debug: HasFiles
false
2022/04/30 22:23:05 HasFiles duration: 0s, args: .deps.edn
2022/04/30 22:23:05 debug: Pwd
C:\Users\kevka\Desktop
2022/04/30 22:23:05 Pwd duration: 0s, args:
2022/04/30 22:23:05 PathSeparator duration: 0s, args:
2022/04/30 22:23:05 debug: HasFiles
false
2022/04/30 22:23:05 HasFiles duration: 0s, args: project.clj
2022/04/30 22:23:05 debug: Pwd
C:\Users\kevka\Desktop
2022/04/30 22:23:05 Pwd duration: 0s, args:
2022/04/30 22:23:05 PathSeparator duration: 0s, args:
2022/04/30 22:23:05 debug: HasFiles
false
2022/04/30 22:23:05 HasFiles duration: 997.9µs, args: build.boot
2022/04/30 22:23:05 debug: Pwd
C:\Users\kevka\Desktop
2022/04/30 22:23:05 Pwd duration: 0s, args:
2022/04/30 22:23:05 PathSeparator duration: 0s, args:
2022/04/30 22:23:05 debug: HasFiles
false
2022/04/30 22:23:05 HasFiles duration: 0s, args: *.java
2022/04/30 22:23:05 debug: Pwd
C:\Users\kevka\Desktop
2022/04/30 22:23:05 Pwd duration: 0s, args:
2022/04/30 22:23:05 PathSeparator duration: 0s, args:
2022/04/30 22:23:05 debug: HasFiles
false
2022/04/30 22:23:05 HasFiles duration: 0s, args: *.class
2022/04/30 22:23:05 debug: Pwd
C:\Users\kevka\Desktop
2022/04/30 22:23:05 Pwd duration: 0s, args:
2022/04/30 22:23:05 PathSeparator duration: 0s, args:
2022/04/30 22:23:05 debug: HasFiles
false
2022/04/30 22:23:05 HasFiles duration: 1.0266ms, args: *.gradle
2022/04/30 22:23:05 debug: Pwd
C:\Users\kevka\Desktop
2022/04/30 22:23:05 Pwd duration: 0s, args:
2022/04/30 22:23:05 PathSeparator duration: 0s, args:
2022/04/30 22:23:05 debug: HasFiles
false
2022/04/30 22:23:05 HasFiles duration: 0s, args: *.jar
2022/04/30 22:23:05 debug: Pwd
C:\Users\kevka\Desktop
2022/04/30 22:23:05 Pwd duration: 0s, args:
2022/04/30 22:23:05 PathSeparator duration: 0s, args:
2022/04/30 22:23:05 debug: HasFiles
false
2022/04/30 22:23:05 HasFiles duration: 968.5µs, args: *.clj
2022/04/30 22:23:05 debug: Pwd
C:\Users\kevka\Desktop
2022/04/30 22:23:05 Pwd duration: 0s, args:
2022/04/30 22:23:05 PathSeparator duration: 0s, args:
2022/04/30 22:23:05 debug: HasFiles
false
2022/04/30 22:23:05 HasFiles duration: 0s, args: *.cljc
2022/04/30 22:23:05 debug: Pwd
C:\Users\kevka\Desktop
2022/04/30 22:23:05 Pwd duration: 0s, args:
2022/04/30 22:23:05 debug: Home
C:\Users\kevka
2022/04/30 22:23:05 GOOS duration: 0s, args:
2022/04/30 22:23:05 debug: Pwd
C:\Users\kevka\Desktop
2022/04/30 22:23:05 Pwd duration: 0s, args:
2022/04/30 22:23:05 debug: Home
C:\Users\kevka
2022/04/30 22:23:05 debug: Pwd
C:\Users\kevka\Desktop
2022/04/30 22:23:05 Pwd duration: 0s, args:
2022/04/30 22:23:05 PathSeparator duration: 0s, args:
2022/04/30 22:23:05 debug: HasFiles
false
2022/04/30 22:23:05 HasFiles duration: 998.7µs, args: *.jl
2022/04/30 22:23:05 debug: Pwd
C:\Users\kevka\Desktop
2022/04/30 22:23:05 Pwd duration: 0s, args:
2022/04/30 22:23:05 debug: Home
C:\Users\kevka
2022/04/30 22:23:05 GOOS duration: 0s, args:
2022/04/30 22:23:05 IsWsl duration: 0s, args:
2022/04/30 22:23:05 BatteryInfo duration: 10.2078ms, args:
2022/04/30 22:23:05 TemplateCache duration: 0s, args:
2022/04/30 22:23:05 TemplateCache duration: 0s, args:
2022/04/30 22:23:05 TemplateCache duration: 0s, args:
2022/04/30 22:23:05 debug: Pwd
C:\Users\kevka\Desktop
2022/04/30 22:23:05 Pwd duration: 0s, args:
2022/04/30 22:23:05 debug: Home
C:\Users\kevka
2022/04/30 22:23:05 GOOS duration: 0s, args:
2022/04/30 22:23:05 ExecutionTime duration: 0s, args:
2022/04/30 22:23:05 debug: Pwd
C:\Users\kevka\Desktop
2022/04/30 22:23:05 Pwd duration: 0s, args:
2022/04/30 22:23:05 debug: Home
C:\Users\kevka
2022/04/30 22:23:05 GOOS duration: 0s, args:
2022/04/30 22:23:05 TemplateCache duration: 0s, args:
2022/04/30 22:23:05 debug: Getenv
C:\Users\kevka\AppData\Local
2022/04/30 22:23:05 Getenv duration: 0s, args: LOCALAPPDATA
2022/04/30 22:23:05 CachePath duration: 661.6µs, args:
JanDeDobbeleer commented 2 years ago

@kevkanae that's not a bug but a configuration change in vscode. Set the following parameter in your vscode settings:

"terminal.integrated.minimumContrastRatio": 1
kxviel commented 2 years ago

Ohhh, thanks a lot :) Great job with the project though.

github-actions[bot] commented 9 months ago

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.