JanDeDobbeleer / oh-my-posh

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

ANSI color codes not loading in Visual Studio Code terminal #5089

Closed null1s closed 1 month ago

null1s commented 1 month ago

Code of Conduct

What happened?

I have no idea how or why, but when I open my VSCode integrated terminal I see a ton of random characters in there. Clearing console doesn't help (with cls/clear, it sticks as the part of the theme probably? However, if I open Windows Terminal app, it is all fine as I expect.

Theme

Bubbles

What OS are you seeing the problem on?

Windows

Which shell are you using?

powershell

Log output

❯ oh-my-posh debug --plain

Shell: powershell (5.1.22621.3672)

Prompt:

                                                                                                                nolikas  website master   97
❯ 

Segments:

ConsoleTitle(false)                        -   0 ms
Session(true)                              -   2 ms
Path(true)                                 -   4 ms
Git(true)                                  -  14 ms
Python(false)                              -  24 ms
Go(false)                                  -   0 ms
Node(true)                                 -   0 ms
Ruby(false)                                -   0 ms
Java(false)                                -   0 ms
Julia(false)                               -   0 ms
Battery(true)                              -   9 ms
Executiontime(false)                       -   0 ms
Text(true)                                 -   0 ms

Run duration: 47.2796ms

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

Config path: C:\Users\Nolikas\AppData\Local\oh-my-posh\config.aHR0cHM6Ly9yYXcuZ2l0aHVidXNlcmNvbnRlbnQuY29tL0phbkRlRG9iYmVsZWVyL29oLW15LXBvc2gvbWFpbi90aGVtZXMvYnViYmxlcy5vbXAuanNvbg==.omp.json

Logs:

[DEBUG] 13:18:21.442 shell.go:Getenv:326 → vscode
[TRACE] 13:18:21.442 shell.go:Getenv(TERM_PROGRAM) - 0s
[DEBUG] 13:18:21.442 shell.go:Getenv:326 → C:\Users\Nolikas\AppData\Local
[TRACE] 13:18:21.442 shell.go:Getenv(LOCALAPPDATA) - 0s
[TRACE] 13:18:21.442 shell_windows.go:CachePath() - 0s
[DEBUG] 13:18:21.442 shell.go:Getenv:326 → C:\Users\Nolikas\AppData\Local\oh-my-posh\config.aHR0cHM6Ly9yYXcuZ2l0aHVidXNlcmNvbnRlbnQuY29tL0phbkRlRG9iYmVsZWVyL29oLW15LXBvc2gvbWFpbi90aGVtZXMvYnViYmxlcy5vbXAuanNvbg==.omp.json
[TRACE] 13:18:21.442 shell.go:Getenv(POSH_THEME) - 0s
[DEBUG] 13:18:21.442 shell.go:Shell:601 → no shell name provided in flags, trying to detect it
[DEBUG] 13:18:21.456 shell.go:Shell:609 → process name: powershell.exe
[TRACE] 13:18:21.456 shell.go:Shell() - 13.4561ms
[TRACE] 13:18:21.456 shell.go:resolveConfigPath() - 13.4561ms
[TRACE] 13:18:21.456 shell.go:Init() - 13.9964ms
[TRACE] 13:18:21.456 shell.go:Flags() - 0s
[TRACE] 13:18:21.459 config.go:loadConfig() - 3.1142ms
[TRACE] 13:18:21.459 shell.go:Flags() - 0s
[DEBUG] 13:18:21.459 shell.go:Getenv:326 → NO DATA
[TRACE] 13:18:21.459 shell.go:Getenv(OMP_CACHE_DISABLED) - 0s
[TRACE] 13:18:21.460 shell_windows.go:WindowsRegistryKeyValue(HKEY_CURRENT_USER\Software\Microsoft\Windows\DWM\ColorizationColor) - 0s
[TRACE] 13:18:21.460 shell.go:GOOS() - 0s
[TRACE] 13:18:21.460 shell.go:GOOS() - 0s
[TRACE] 13:18:21.460 shell.go:GOOS() - 0s
[TRACE] 13:18:21.460 shell.go:GOOS() - 0s
[TRACE] 13:18:21.460 shell.go:GOOS() - 0s
[TRACE] 13:18:21.460 shell.go:GOOS() - 0s
[TRACE] 13:18:21.460 shell.go:GOOS() - 0s
[TRACE] 13:18:21.460 shell.go:GOOS() - 0s
[TRACE] 13:18:21.460 shell.go:GOOS() - 0s
[TRACE] 13:18:21.460 shell.go:GOOS() - 0s
[TRACE] 13:18:21.460 shell.go:GOOS() - 0s
[TRACE] 13:18:21.460 shell.go:GOOS() - 0s
[TRACE] 13:18:21.460 shell.go:GOOS() - 0s
[TRACE] 13:18:21.460 shell.go:GOOS() - 0s
[TRACE] 13:18:21.460 shell.go:GOOS() - 0s
[TRACE] 13:18:21.460 shell.go:GOOS() - 0s
[TRACE] 13:18:21.460 shell.go:GOOS() - 0s
[TRACE] 13:18:21.460 shell.go:GOOS() - 0s
[TRACE] 13:18:21.460 shell.go:GOOS() - 0s
[DEBUG] 13:18:21.460 shell_windows.go:WindowsRegistryKeyValue:217 → ColorizationColor(DWORD): 0xC44C4A48
[TRACE] 13:18:21.460 shell.go:Shell() - 0s
[DEBUG] 13:18:21.460 shell.go:Getenv:326 → 5.1.22621.3672
[TRACE] 13:18:21.460 shell.go:Getenv(POSH_SHELL_VERSION) - 0s
[DEBUG] 13:18:21.460 debug.go:PrintDebug:22 → Segment: Title
[DEBUG] 13:18:21.460 text.go:Render:72 → Rendering template:
[DEBUG] 13:18:21.460 shell.go:Getenv:326 → 1
[TRACE] 13:18:21.460 shell.go:Getenv(POSH_CURSOR_LINE) - 0s
[DEBUG] 13:18:21.460 shell.go:Getenv:326 → 1
[TRACE] 13:18:21.460 shell.go:Getenv(POSH_CURSOR_COLUMN) - 0s
[TRACE] 13:18:21.461 shell.go:Flags() - 0s
[TRACE] 13:18:21.461 shell.go:Flags() - 0s
[TRACE] 13:18:21.461 shell.go:Shell() - 0s
[TRACE] 13:18:21.461 shell.go:Shell() - 0s
[TRACE] 13:18:21.461 shell.go:Flags() - 0s
[TRACE] 13:18:21.461 shell.go:GOOS() - 0s
[TRACE] 13:18:21.461 shell.go:Flags() - 0s
[TRACE] 13:18:21.461 shell.go:Flags() - 0s
[TRACE] 13:18:21.461 shell.go:Flags() - 0s
[TRACE] 13:18:21.461 shell.go:Flags() - 0s
[DEBUG] 13:18:21.461 shell.go:Pwd:356 → C:\Users\Nolikas\Documents\GitHub\chickenbet
[TRACE] 13:18:21.461 shell.go:Pwd() - 0s
[DEBUG] 13:18:21.461 shell_windows.go:58 → C:\Users\Nolikas
[DEBUG] 13:18:21.461 properties.go:GetString:28 → environment
[TRACE] 13:18:21.461 shell.go:GOOS() - 0s
[DEBUG] 13:18:21.461 segment.go:SetEnabled:539 → Segment: Session
[TRACE] 13:18:21.461 shell.go:Pwd() - 0s
[DEBUG] 13:18:21.461 shell_windows.go:58 → C:\Users\Nolikas
[TRACE] 13:18:21.461 shell.go:GOOS() - 0s
[DEBUG] 13:18:21.461 segment.go:SetEnabled:539 → Segment: Python
[TRACE] 13:18:21.461 shell.go:Flags() - 0s
[TRACE] 13:18:21.461 shell.go:Pwd() - 0s
[DEBUG] 13:18:21.461 shell.go:Getenv:326 → NO DATA
[TRACE] 13:18:21.461 shell.go:Getenv(SSH_CONNECTION) - 0s
[DEBUG] 13:18:21.461 shell_windows.go:58 → C:\Users\Nolikas
[DEBUG] 13:18:21.461 properties.go:GetStringArray:52 → extensions: [*.py *.ipynb pyproject.toml venv.bak]
[DEBUG] 13:18:21.461 properties.go:GetStringArray:52 → folders: [.venv venv virtualenv venv-win pyenv-win]
[TRACE] 13:18:21.461 shell.go:Getenv(SSH_CLIENT) - 0s
[DEBUG] 13:18:21.461 properties.go:GetBool:22 → home_enabled: false
[DEBUG] 13:18:21.461 segment.go:SetEnabled:539 → Segment: Ruby
[DEBUG] 13:18:21.461 properties.go:GetStringArray:52 → extensions: [*.rb Rakefile Gemfile]
[TRACE] 13:18:21.461 shell.go:Pwd() - 0s
[DEBUG] 13:18:21.461 properties.go:GetStringArray:52 → folders: []
[DEBUG] 13:18:21.461 shell_windows.go:58 → C:\Users\Nolikas
[DEBUG] 13:18:21.461 properties.go:GetBool:22 → home_enabled: false
[TRACE] 13:18:21.461 shell.go:Pwd() - 0s
[DEBUG] 13:18:21.461 properties.go:GetBool:22 → fetch_virtual_env: true
[DEBUG] 13:18:21.461 shell.go:Getenv:326 → C:\Users\Nolikas\AppData\Local
[TRACE] 13:18:21.461 shell.go:Getenv(LOCALAPPDATA) - 0s
[DEBUG] 13:18:21.461 shell_windows.go:58 → C:\Users\Nolikas
[DEBUG] 13:18:21.461 properties.go:GetString:28 → files
[TRACE] 13:18:21.461 shell.go:Pwd() - 0s
[TRACE] 13:18:21.461 shell_windows.go:Root() - 0s
[TRACE] 13:18:21.461 shell.go:Shell() - 0s
[TRACE] 13:18:21.461 shell.go:StatusCodes() - 0s
[TRACE] 13:18:21.461 shell_windows.go:IsWsl() - 0s
[TRACE] 13:18:21.462 shell.go:Pwd() - 0s
[DEBUG] 13:18:21.462 shell_windows.go:58 → C:\Users\Nolikas
[TRACE] 13:18:21.463 shell.go:HasFilesInDir(.java-version) - 0s
[TRACE] 13:18:21.463 shell.go:GOOS() - 0s
[TRACE] 13:18:21.463 shell.go:Pwd() - 0s
[DEBUG] 13:18:21.463 shell.go:HasFilesInDir:409 → false
[TRACE] 13:18:21.463 shell.go:HasFilesInDir(.deps.edn) - 0s
[TRACE] 13:18:21.463 shell.go:Pwd() - 0s
[DEBUG] 13:18:21.463 segment.go:SetEnabled:539 → Segment: Battery
[DEBUG] 13:18:21.463 shell.go:HasFilesInDir:409 → false
[TRACE] 13:18:21.463 shell.go:HasFilesInDir(project.clj) - 0s
[TRACE] 13:18:21.463 shell.go:Pwd() - 0s
[DEBUG] 13:18:21.463 shell.go:HasFilesInDir:409 → false
[TRACE] 13:18:21.463 shell.go:HasFilesInDir(build.boot) - 0s
[TRACE] 13:18:21.463 shell_windows.go:IsWsl() - 0s
[TRACE] 13:18:21.463 shell.go:Pwd() - 0s
[DEBUG] 13:18:21.463 shell.go:HasFilesInDir:409 → false
[TRACE] 13:18:21.463 shell.go:HasFilesInDir(*.java) - 0s
[TRACE] 13:18:21.463 shell.go:Pwd() - 0s
[DEBUG] 13:18:21.463 shell.go:HasFilesInDir:409 → false
[TRACE] 13:18:21.463 shell.go:HasFilesInDir(*.class) - 0s
[DEBUG] 13:18:21.463 properties.go:GetBool:22 → mapped_locations_enabled: true
[TRACE] 13:18:21.463 shell.go:Pwd() - 0s
[DEBUG] 13:18:21.463 properties.go:GetString:28 → 
[DEBUG] 13:18:21.463 shell.go:HasFilesInDir:409 → false
[DEBUG] 13:18:21.463 properties.go:GetString:28 → 
[DEBUG] 13:18:21.463 shell_windows.go:58 → C:\Users\Nolikas
[TRACE] 13:18:21.463 shell.go:HasFilesInDir(*.gradle) - 0s
[TRACE] 13:18:21.463 shell.go:Pwd() - 0s
[DEBUG] 13:18:21.463 shell.go:HasFilesInDir:409 → false
[TRACE] 13:18:21.463 shell.go:HasFilesInDir(*.jar) - 0s
[TRACE] 13:18:21.463 shell.go:Pwd() - 0s
[DEBUG] 13:18:21.463 properties.go:GetKeyValueMap:46 → mapped_locations: map[]
[TRACE] 13:18:21.463 shell.go:PathSeparator() - 0s
[TRACE] 13:18:21.463 shell.go:GOOS() - 0s
[DEBUG] 13:18:21.463 shell.go:HasFilesInDir:409 → false
[TRACE] 13:18:21.463 shell.go:GOOS() - 0s
[TRACE] 13:18:21.463 shell.go:HasFilesInDir(*.clj) - 0s
[TRACE] 13:18:21.463 shell.go:Pwd() - 0s
[DEBUG] 13:18:21.463 shell.go:HasFilesInDir:409 → false
[TRACE] 13:18:21.463 shell.go:HasFilesInDir(*.cljc) - 0s
[TRACE] 13:18:21.463 shell.go:Flags() - 0s
[TRACE] 13:18:21.463 shell.go:Pwd() - 0s
[DEBUG] 13:18:21.463 shell_windows.go:58 → C:\Users\Nolikas
[TRACE] 13:18:21.463 shell.go:GOOS() - 0s
[DEBUG] 13:18:21.463 segment.go:SetEnabled:539 → Segment: Julia
[DEBUG] 13:18:21.463 properties.go:GetStringArray:52 → extensions: [*.jl]
[DEBUG] 13:18:21.463 properties.go:GetStringArray:52 → folders: []
[TRACE] 13:18:21.463 shell.go:GOOS() - 0s
[DEBUG] 13:18:21.463 properties.go:GetBool:22 → home_enabled: false
[TRACE] 13:18:21.463 shell.go:Pwd() - 0s
[DEBUG] 13:18:21.463 shell_windows.go:58 → C:\Users\Nolikas
[DEBUG] 13:18:21.463 properties.go:GetString:28 → files
[TRACE] 13:18:21.463 shell.go:Pwd() - 0s
[DEBUG] 13:18:21.463 shell.go:HasFilesInDir:409 → false
[TRACE] 13:18:21.463 shell.go:HasFilesInDir(*.jl) - 0s
[TRACE] 13:18:21.463 shell.go:GOOS() - 0s
[TRACE] 13:18:21.463 shell.go:GOOS() - 0s
[TRACE] 13:18:21.463 shell.go:GOOS() - 0s
[TRACE] 13:18:21.464 shell.go:GOOS() - 0s
[TRACE] 13:18:21.464 shell.go:PathSeparator() - 0s
[TRACE] 13:18:21.464 shell.go:PathSeparator() - 0s
[TRACE] 13:18:21.464 shell.go:GOOS() - 0s
[TRACE] 13:18:21.464 shell.go:GOOS() - 0s
[TRACE] 13:18:21.464 shell.go:GOOS() - 0s
[TRACE] 13:18:21.464 shell.go:PathSeparator() - 0s
[TRACE] 13:18:21.464 shell.go:GOOS() - 0s
[TRACE] 13:18:21.464 shell.go:GOOS() - 0s
[TRACE] 13:18:21.464 shell.go:GOOS() - 0s
[TRACE] 13:18:21.464 shell.go:PathSeparator() - 0s
[TRACE] 13:18:21.464 shell.go:GOOS() - 0s
[TRACE] 13:18:21.464 shell.go:GOOS() - 0s
[TRACE] 13:18:21.464 shell.go:GOOS() - 0s
[TRACE] 13:18:21.464 shell.go:PathSeparator() - 0s
[TRACE] 13:18:21.464 shell.go:PathSeparator() - 0s
[TRACE] 13:18:21.464 shell.go:PathSeparator() - 0s
[DEBUG] 13:18:21.464 properties.go:GetString:28 → NO DATA
[DEBUG] 13:18:21.464 shell_windows.go:58 → C:\Users\Nolikas
[TRACE] 13:18:21.464 shell.go:PathSeparator() - 0s
[TRACE] 13:18:21.464 shell.go:PathSeparator() - 0s
[TRACE] 13:18:21.464 shell.go:PathSeparator() - 0s
[TRACE] 13:18:21.464 shell.go:PathSeparator() - 0s
[DEBUG] 13:18:21.464 properties.go:GetString:28 → folder
[TRACE] 13:18:21.464 shell.go:GOOS() - 0s
[TRACE] 13:18:21.464 shell.go:GOOS() - 0s
[TRACE] 13:18:21.464 shell.go:GOOS() - 0s
[TRACE] 13:18:21.464 shell.go:GOOS() - 0s
[TRACE] 13:18:21.464 shell.go:GOOS() - 0s
[TRACE] 13:18:21.464 shell.go:GOOS() - 0s
[TRACE] 13:18:21.464 shell.go:GOOS() - 0s
[TRACE] 13:18:21.464 shell.go:GOOS() - 0s
[TRACE] 13:18:21.464 shell.go:GOOS() - 0s
[TRACE] 13:18:21.464 shell.go:GOOS() - 0s
[TRACE] 13:18:21.464 shell.go:GOOS() - 0s
[TRACE] 13:18:21.464 shell.go:GOOS() - 0s
[TRACE] 13:18:21.464 shell.go:PathSeparator() - 0s
[DEBUG] 13:18:21.464 properties.go:GetString:28 → NO DATA
[TRACE] 13:18:21.464 shell.go:PathSeparator() - 0s
[DEBUG] 13:18:21.464 properties.go:GetString:28 → \
[TRACE] 13:18:21.464 shell.go:Pwd() - 0s
[TRACE] 13:18:21.464 shell.go:TemplateCache() - 0s
[TRACE] 13:18:21.464 shell.go:StackCount() - 0s
[DEBUG] 13:18:21.465 win32_windows.go:isWriteable:299 → not current user or in group
[DEBUG] 13:18:21.465 win32_windows.go:isWriteable:303 → current user is member of S-1-5-32-544
[DEBUG] 13:18:21.465 win32_windows.go:isWriteable:311 ↓
    WRITE_DAC
    WRITE_OWNER
    SYNCHRONIZE
    DELETE
    READ_CONTROL
[DEBUG] 13:18:21.465 win32_windows.go:isWriteable:313 → user has write access
[TRACE] 13:18:21.465 shell_windows.go:DirIsWritable() - 1.3049ms
[TRACE] 13:18:21.465 shell.go:TemplateCache() - 0s
[TRACE] 13:18:21.470 shell_windows_nix.go:BatteryState() - 6.9494ms
[DEBUG] 13:18:21.470 properties.go:GetString:28 →
[TRACE] 13:18:21.470 shell.go:TemplateCache() - 0s
[DEBUG] 13:18:21.475 shell.go:CommandPath:553 → C:\Program Files\Git\cmd\git.exe
[TRACE] 13:18:21.475 shell.go:CommandPath(git.exe) - 12.0539ms
[TRACE] 13:18:21.475 shell.go:HasCommand(git.exe) - 12.0539ms
[TRACE] 13:18:21.475 shell.go:Pwd() - 0s
[TRACE] 13:18:21.475 shell.go:HasParentFilePath(.git) - 0s
[DEBUG] 13:18:21.475 properties.go:GetStringArray:52 → exclude_folders: []
[DEBUG] 13:18:21.475 shell_windows.go:58 → C:\Users\Nolikas
[TRACE] 13:18:21.475 shell.go:GOOS() - 0s
[TRACE] 13:18:21.475 shell.go:GOOS() - 0s
[TRACE] 13:18:21.475 shell.go:GOOS() - 0s
[DEBUG] 13:18:21.475 properties.go:GetBool:22 → fetch_user: false
[TRACE] 13:18:21.475 shell.go:GOOS() - 0s
[TRACE] 13:18:21.475 shell.go:GOOS() - 0s
[TRACE] 13:18:21.475 shell.go:GOOS() - 0s
[TRACE] 13:18:21.475 shell.go:GOOS() - 0s
[TRACE] 13:18:21.475 shell.go:GOOS() - 0s
[TRACE] 13:18:21.475 shell.go:GOOS() - 0s
[TRACE] 13:18:21.475 shell.go:GOOS() - 0s
[TRACE] 13:18:21.475 shell.go:GOOS() - 0s
[TRACE] 13:18:21.475 shell.go:GOOS() - 0s
[TRACE] 13:18:21.475 shell.go:GOOS() - 0s
[TRACE] 13:18:21.475 shell.go:GOOS() - 0s
[DEBUG] 13:18:21.475 shell.go:Getenv:326 → NO DATA
[TRACE] 13:18:21.475 shell.go:Getenv(POSH_GIT_STATUS) - 0s
[DEBUG] 13:18:21.475 properties.go:GetBool:22 → fetch_status: false
[DEBUG] 13:18:21.475 properties.go:GetStringArray:52 → ignore_status: []
[DEBUG] 13:18:21.475 shell_windows.go:58 → C:\Users\Nolikas
[TRACE] 13:18:21.475 shell.go:GOOS() - 0s
[DEBUG] 13:18:21.475 shell.go:FileContent:468 ↓
    ref: refs/heads/master

[TRACE] 13:18:21.475 shell.go:FileContent(C:\Users\Nolikas\Documents\GitHub\website\.git/HEAD) - 651.8µs
[DEBUG] 13:18:21.475 properties.go:GetString:28 → NO DATA
[DEBUG] 13:18:21.475 properties.go:GetInt:40 → branch_max_length: 0
[DEBUG] 13:18:21.475 properties.go:GetBool:22 → fetch_upstream_icon: false
[TRACE] 13:18:21.475 shell.go:TemplateCache() - 0s
[DEBUG] 13:18:21.484 shell.go:CommandPath:553 → C:\Users\Nolikas\AppData\Local\Programs\Python\Python310\python.exe
[TRACE] 13:18:21.484 shell.go:CommandPath(python) - 23.0059ms
[DEBUG] 13:18:21.484 shell.go:HasFilesInDir:409 → false
[TRACE] 13:18:21.484 shell.go:HasFilesInDir(pyvenv.cfg) - 93.1µs
[DEBUG] 13:18:21.485 shell.go:HasFilesInDir:409 → false
[TRACE] 13:18:21.485 shell.go:HasFilesInDir(pyvenv.cfg) - 509.2µs
[DEBUG] 13:18:21.485 properties.go:GetBool:22 → folder_name_fallback: true
[DEBUG] 13:18:21.485 shell.go:Getenv:326 → NO DATA
[TRACE] 13:18:21.485 shell.go:Getenv(VIRTUAL_ENV) - 0s
[DEBUG] 13:18:21.485 shell.go:Getenv:326 → NO DATA
[TRACE] 13:18:21.485 shell.go:Getenv(CONDA_ENV_PATH) - 0s
[DEBUG] 13:18:21.485 shell.go:Getenv:326 → NO DATA
[TRACE] 13:18:21.485 shell.go:Getenv(CONDA_DEFAULT_ENV) - 0s
[DEBUG] 13:18:21.485 text.go:Render:72 → Rendering template: {{ .UserName }}
[DEBUG] 13:18:21.485 text.go:Render:72 → Rendering template:  {{ .Path }}
[DEBUG] 13:18:21.485 text.go:Render:72 → Rendering template: {{ .HEAD }}
[DEBUG] 13:18:21.485 text.go:Render:72 → Rendering template: {{ if not .Error }}{{ .Icon }}{{ .Percentage }}{{ end }}{{ .Error }}
[DEBUG] 13:18:21.486 text.go:Render:72 → Rendering template: {{ if .PackageManagerIcon }}{{ .PackageManagerIcon }} {{ end }}{{ .Full }}
[TRACE] 13:18:21.486 shell.go:TemplateCache() - 0s
[TRACE] 13:18:21.486 shell.go:TemplateCache() - 0s
[TRACE] 13:18:21.486 shell.go:Shell() - 0s
[TRACE] 13:18:21.486 shell.go:Shell() - 0s
[TRACE] 13:18:21.487 shell.go:TemplateCache() - 0s
[TRACE] 13:18:21.487 shell.go:Shell() - 0s
[TRACE] 13:18:21.487 shell.go:TemplateCache() - 0s
[TRACE] 13:18:21.487 shell.go:Shell() - 0s
[TRACE] 13:18:21.487 shell.go:TemplateCache() - 0s
[TRACE] 13:18:21.487 shell.go:Shell() - 0s
[DEBUG] 13:18:21.487 text.go:Render:72 → Rendering template: diamond
[DEBUG] 13:18:21.488 text.go:Render:72 → Rendering template: diamond
[DEBUG] 13:18:21.488 text.go:Render:72 → Rendering template: diamond
[DEBUG] 13:18:21.488 text.go:Render:72 → Rendering template: diamond
[DEBUG] 13:18:21.488 text.go:Render:72 → Rendering template: diamond
[DEBUG] 13:18:21.488 text.go:Render:72 → Rendering template: diamond
[DEBUG] 13:18:21.488 text.go:Render:72 → Rendering template: diamond
[DEBUG] 13:18:21.488 text.go:Render:72 → Rendering template: diamond
[DEBUG] 13:18:21.488 text.go:Render:72 → Rendering template: diamond
[DEBUG] 13:18:21.488 text.go:Render:72 → Rendering template: {{if eq "Charging" .State.String}}#40c4ff{{end}}
[TRACE] 13:18:21.489 shell.go:TemplateCache() - 0s
[DEBUG] 13:18:21.489 text.go:Render:72 → Rendering template: {{if eq "Discharging" .State.String}}#ff5722{{end}}
[TRACE] 13:18:21.489 shell.go:TemplateCache() - 0s
[DEBUG] 13:18:21.489 text.go:Render:72 → Rendering template: {{if eq "Full" .State.String}}#4caf50{{end}}
[TRACE] 13:18:21.489 shell.go:TemplateCache() - 0s
[DEBUG] 13:18:21.489 text.go:Render:72 → Rendering template: diamond
[DEBUG] 13:18:21.490 shell_windows.go:TerminalWidth:111 → terminal width: 155
[TRACE] 13:18:21.490 shell_windows.go:TerminalWidth() - 532.5µs
[TRACE] 13:18:21.490 shell.go:Shell() - 0s
[TRACE] 13:18:21.490 shell.go:Shell() - 0s
[TRACE] 13:18:21.490 shell.go:Shell() - 0s
[TRACE] 13:18:21.490 shell.go:Shell() - 0s
[TRACE] 13:18:21.490 shell.go:Flags() - 0s
[TRACE] 13:18:21.490 shell.go:Pwd() - 0s
[TRACE] 13:18:21.490 shell.go:Flags() - 0s
[DEBUG] 13:18:21.490 shell_windows.go:58 → C:\Users\Nolikas
[TRACE] 13:18:21.490 shell.go:GOOS() - 0s
[DEBUG] 13:18:21.490 segment.go:SetEnabled:539 → Segment: Text
[TRACE] 13:18:21.490 shell.go:TemplateCache() - 0s
[TRACE] 13:18:21.490 shell.go:Pwd() - 0s
[DEBUG] 13:18:21.490 shell_windows.go:58 → C:\Users\Nolikas
[TRACE] 13:18:21.490 shell.go:GOOS() - 0s
[DEBUG] 13:18:21.490 segment.go:SetEnabled:539 → Segment: Executiontime
[DEBUG] 13:18:21.490 properties.go:GetBool:22 → always_enabled: false
[TRACE] 13:18:21.490 shell.go:ExecutionTime() - 0s
[DEBUG] 13:18:21.490 properties.go:GetFloat64:34 → threshold: 150.000000
[DEBUG] 13:18:21.490 text.go:Render:72 → Rendering template: ❯
[TRACE] 13:18:21.490 shell.go:Shell() - 0s
[DEBUG] 13:18:21.490 shell.go:Getenv:326 → vscode
[TRACE] 13:18:21.490 shell.go:Getenv(TERM_PROGRAM) - 0s
[DEBUG] 13:18:21.490 text.go:Render:72 → Rendering template: diamond
[DEBUG] 13:18:21.490 text.go:Render:72 → Rendering template: diamond
[TRACE] 13:18:21.490 shell.go:Shell() - 0s
[TRACE] 13:18:21.490 shell.go:Shell() - 0s
[TRACE] 13:18:21.490 shell.go:Shell() - 0s
[TRACE] 13:18:21.490 shell.go:Shell() - 0s
[DEBUG] 13:18:21.490 shell.go:Getenv:326 → C:\Users\Nolikas\AppData\Local
[TRACE] 13:18:21.490 shell.go:Getenv(LOCALAPPDATA) - 0s
[TRACE] 13:18:21.490 shell_windows.go:CachePath() - 533µs
[TRACE] 13:18:21.490 shell.go:Flags() - 0s
                                                                                                                nolikas  website master   97 97\x1b[0m\x1b[38\x3b2\x3b41\x3b49\x3b90m\x1b[0m\x0a\x1b[38\x3b2\x3b41\x3b49\x3b90m\x1b[0m\x1b[48\x3b2\x3b41\x3b49\x3b90m\x1b[38\x3b2\x3b174\x3b164\x3b191m314ms\x1b[0m\x1b[38\x3b2\x3b41\x3b49\x3b90m \x1b[0m\x1b[38\x3b2\x3b41\x3b49\x3b90m\x1b[0m\x1b[48\x3b2\x3b41\x3b49\x3b90m\x1b[38\x3b2\x3b127\x3b213\x3b234m❯\x1b[0m\x1b[38\x3b2\x3b41\x3b49\x3b90m\x1b[0m 
314ms ❯
JanDeDobbeleer commented 1 month ago

relates to https://github.com/microsoft/vscode/issues/211922

temporarily disable shell integrations to solve the issue for now:

{
  "terminal.integrated.shellIntegration.enabled": false
}