JanDeDobbeleer / oh-my-posh

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

Strange chracters in VS Code integrated terminal with default theme #5093

Closed Arregator closed 3 months ago

Arregator commented 3 months ago

Code of Conduct

What happened?

Hi, since sometime in my VS Code integrated terminal (Windows 10 Pro 64bit) there are strange characters appear in promt, I guess, instead of timestamp used to be on the right side.

2024-06-16 06-27-56 Microsoft PowerShell_profile ps1 - optioner - Visual Studio Code

My config is: oh-my-posh init pwsh | Invoke-Expression

so I guess his is default theme.

It used to be ok, but maybe due to some of VS Code update or something it started to show those strange characters.

The issue does NOT appear in standalone Windows Terminal.

The issue does NOT appear in VS Code integrated terminal either if I change theme from default to some other one, for example:

oh-my-posh init pwsh --config $env:POSH_THEMES_PATH\thecyberden.omp.json | Invoke-Expression

then it runs ok.

My current VS Code: Version: 1.90.1 (user setup) Commit: 611f9bfce64f25108829dd295f54a6894e87339d Date: 2024-06-11T21:01:24.262Z Electron: 29.4.0 ElectronBuildId: 9593362 Chromium: 122.0.6261.156 Node.js: 20.9.0 V8: 12.2.281.27-electron.0 OS: Windows_NT x64 10.0.19045

Thank you, Roman.

Theme

Default

What OS are you seeing the problem on?

Windows

Which shell are you using?

powershell

Log output

Version: 21.10.0

Shell: powershell (5.1.19041.4522)

Prompt:

 <SECURITY_CUT_OFF>  <SECURITY_CUT_OFF> main ≡  ?5                                                                              in powershell at 06:56:31

Segments:

ConsoleTitle(true)                        -   2 ms
Session(true)                             -   0 ms
Path(true)                                -   2 ms
Git(true)                                 - 105 ms
Root(false)                               -   0 ms
Status(true)                              -   0 ms
Node(false)                               -   0 ms
Go(false)                                 -   0 ms
Python(false)                             -   1 ms
Shell(true)                               -   0 ms
Time(true)                                -   0 ms

Run duration: 218.2152ms

Cache path: C:\Users\<SECURITY_CUT_OFF>\AppData\Local\oh-my-posh

Config path: no --config set, using default built-in configuration

Logs:

[DEBUG] 06:56:30.972 shell.go:Getenv:326 → vscode
[TRACE] 06:56:31.052 shell.go:Getenv(TERM_PROGRAM) - 79.9968ms
[DEBUG] 06:56:31.052 shell.go:Getenv:326 → C:\Users\<SECURITY_CUT_OFF>\AppData\Local
[TRACE] 06:56:31.052 shell.go:Getenv(LOCALAPPDATA) - 0s
[TRACE] 06:56:31.052 shell_windows.go:CachePath() - 0s
[DEBUG] 06:56:31.056 shell.go:Getenv:326 → NO DATA
[TRACE] 06:56:31.056 shell.go:Getenv(POSH_THEME) - 0s
[DEBUG] 06:56:31.056 shell.go:resolveConfigPath:246 → No config set, fallback to default config
[TRACE] 06:56:31.056 shell.go:resolveConfigPath() - 0s
[TRACE] 06:56:31.056 shell.go:Init() - 83.7706ms
[TRACE] 06:56:31.056 shell.go:Flags() - 0s
[DEBUG] 06:56:31.056 config.go:loadConfig:129 → no config file specified, using default
[TRACE] 06:56:31.056 config.go:loadConfig() - 0s
[TRACE] 06:56:31.056 shell.go:Flags() - 0s
[DEBUG] 06:56:31.056 shell.go:Getenv:326 → NO DATA
[TRACE] 06:56:31.056 shell.go:Getenv(OMP_CACHE_DISABLED) - 0s
[TRACE] 06:56:31.056 shell_windows.go:WindowsRegistryKeyValue(HKEY_CURRENT_USER\Software\Microsoft\Windows\DWM\ColorizationColor) - 0s
[TRACE] 06:56:31.056 shell.go:GOOS() - 0s
[TRACE] 06:56:31.056 shell.go:GOOS() - 0s
[TRACE] 06:56:31.056 shell.go:GOOS() - 0s
[TRACE] 06:56:31.056 shell.go:GOOS() - 0s
[TRACE] 06:56:31.056 shell.go:GOOS() - 0s
[TRACE] 06:56:31.056 shell.go:GOOS() - 0s
[TRACE] 06:56:31.056 shell.go:GOOS() - 0s
[TRACE] 06:56:31.056 shell.go:GOOS() - 0s
[TRACE] 06:56:31.056 shell.go:GOOS() - 0s
[TRACE] 06:56:31.056 shell.go:GOOS() - 0s
[TRACE] 06:56:31.056 shell.go:GOOS() - 0s
[TRACE] 06:56:31.056 shell.go:GOOS() - 0s
[TRACE] 06:56:31.056 shell.go:GOOS() - 0s
[TRACE] 06:56:31.056 shell.go:GOOS() - 0s
[TRACE] 06:56:31.056 shell.go:GOOS() - 0s
[TRACE] 06:56:31.056 shell.go:GOOS() - 0s
[TRACE] 06:56:31.056 shell.go:GOOS() - 0s
[TRACE] 06:56:31.056 shell.go:GOOS() - 0s
[TRACE] 06:56:31.056 shell.go:GOOS() - 0s
[DEBUG] 06:56:31.056 shell_windows.go:WindowsRegistryKeyValue:217 → ColorizationColor(DWORD): 0xC4495F16
[DEBUG] 06:56:31.057 shell.go:Shell:601 → no shell name provided in flags, trying to detect it
[DEBUG] 06:56:31.076 shell.go:Shell:609 → process name: powershell.exe
[TRACE] 06:56:31.076 shell.go:Shell() - 19.4615ms
[DEBUG] 06:56:31.076 shell.go:Getenv:326 → 5.1.19041.4522
[TRACE] 06:56:31.076 shell.go:Getenv(POSH_SHELL_VERSION) - 111.5µs
[DEBUG] 06:56:31.076 debug.go:PrintDebug:22 → Segment: Title
[DEBUG] 06:56:31.076 text.go:Render:72 → Rendering template: {{ .Shell }} in {{ .Folder }}
[TRACE] 06:56:31.077 shell_windows.go:Root() - 506.7µs
[TRACE] 06:56:31.077 shell.go:Shell() - 0s
[TRACE] 06:56:31.077 shell.go:StatusCodes() - 0s
[TRACE] 06:56:31.077 shell_windows.go:IsWsl() - 0s
[DEBUG] 06:56:31.078 shell.go:TemplateCache:782 → environment: [<SECURITY_CUT_OFF>]
[TRACE] 06:56:31.078 shell.go:GOOS() - 0s
[DEBUG] 06:56:31.078 shell.go:Pwd:356 → C:\Users\<SECURITY_CUT_OFF>\Documents\<SECURITY_CUT_OFF>
[TRACE] 06:56:31.078 shell.go:Pwd() - 0s
[DEBUG] 06:56:31.078 shell_windows.go:58 → C:\Users\<SECURITY_CUT_OFF>
[TRACE] 06:56:31.078 shell.go:GOOS() - 0s
[TRACE] 06:56:31.078 shell_windows.go:IsWsl() - 0s
[TRACE] 06:56:31.078 shell.go:GOOS() - 0s
[TRACE] 06:56:31.078 shell.go:GOOS() - 0s
[TRACE] 06:56:31.078 shell.go:GOOS() - 0s
[TRACE] 06:56:31.078 shell.go:GOOS() - 0s
[TRACE] 06:56:31.078 shell.go:GOOS() - 0s
[TRACE] 06:56:31.078 shell.go:GOOS() - 0s
[TRACE] 06:56:31.078 shell.go:GOOS() - 0s
[TRACE] 06:56:31.078 shell.go:GOOS() - 0s
[TRACE] 06:56:31.078 shell.go:GOOS() - 0s
[TRACE] 06:56:31.078 shell.go:GOOS() - 0s
[TRACE] 06:56:31.078 shell.go:GOOS() - 0s
[DEBUG] 06:56:31.078 shell.go:User:494 → <SECURITY_CUT_OFF>
[TRACE] 06:56:31.078 shell.go:User() - 506µs
[DEBUG] 06:56:31.078 shell.go:Host:511 → <SECURITY_CUT_OFF>
[TRACE] 06:56:31.078 shell.go:Host() - 27µs
[TRACE] 06:56:31.078 shell.go:GOOS() - 0s
[DEBUG] 06:56:31.078 shell.go:Getenv:326 → NO DATA
[TRACE] 06:56:31.078 shell.go:Getenv(SHLVL) - 0s
[TRACE] 06:56:31.078 shell.go:TemplateCache() - 1.7487ms
[DEBUG] 06:56:31.078 shell.go:Getenv:326 → 3
[TRACE] 06:56:31.078 shell.go:Getenv(POSH_CURSOR_LINE) - 0s
[DEBUG] 06:56:31.078 shell.go:Getenv:326 → 1
[TRACE] 06:56:31.078 shell.go:Getenv(POSH_CURSOR_COLUMN) - 0s
[TRACE] 06:56:31.078 shell.go:Flags() - 0s
[TRACE] 06:56:31.078 shell.go:Flags() - 0s
[TRACE] 06:56:31.078 shell.go:Shell() - 0s
[TRACE] 06:56:31.078 shell.go:Shell() - 0s
[TRACE] 06:56:31.078 shell.go:Flags() - 0s
[TRACE] 06:56:31.078 shell.go:Flags() - 0s
[TRACE] 06:56:31.078 shell.go:Flags() - 0s
[TRACE] 06:56:31.078 shell.go:Pwd() - 0s
[TRACE] 06:56:31.078 shell.go:Pwd() - 0s
[TRACE] 06:56:31.078 shell.go:Pwd() - 0s
[DEBUG] 06:56:31.078 shell_windows.go:58 → C:\Users\<SECURITY_CUT_OFF>
[DEBUG] 06:56:31.078 shell_windows.go:58 → C:\Users\<SECURITY_CUT_OFF>
[TRACE] 06:56:31.078 shell.go:GOOS() - 0s
[TRACE] 06:56:31.078 shell.go:GOOS() - 0s
[TRACE] 06:56:31.078 shell.go:GOOS() - 0s
[TRACE] 06:56:31.078 shell.go:Flags() - 0s
[DEBUG] 06:56:31.078 segment.go:SetEnabled:539 → Segment: Root
[DEBUG] 06:56:31.078 segment.go:SetEnabled:539 → Segment: Git
[DEBUG] 06:56:31.078 properties.go:GetString:28 → {{ .Code }}
[TRACE] 06:56:31.078 shell.go:Pwd() - 0s
[DEBUG] 06:56:31.078 segment.go:SetEnabled:539 → Segment: Path
[TRACE] 06:56:31.078 shell.go:Pwd() - 0s
[TRACE] 06:56:31.078 shell.go:Pwd() - 0s
[DEBUG] 06:56:31.078 shell_windows.go:58 → C:\Users\<SECURITY_CUT_OFF>
[TRACE] 06:56:31.078 shell.go:GOOS() - 0s
[TRACE] 06:56:31.078 shell.go:Shell() - 0s
[TRACE] 06:56:31.078 shell.go:GOOS() - 0s
[DEBUG] 06:56:31.078 shell_windows.go:58 → C:\Users\<SECURITY_CUT_OFF>
[TRACE] 06:56:31.078 shell.go:Shell() - 0s
[DEBUG] 06:56:31.078 segment.go:SetEnabled:539 → Segment: Status
[TRACE] 06:56:31.078 shell.go:GOOS() - 0s
[TRACE] 06:56:31.078 shell.go:Flags() - 0s
[DEBUG] 06:56:31.078 shell.go:Getenv:326 → C:\Users\<SECURITY_CUT_OFF>\AppData\Local
[TRACE] 06:56:31.078 shell.go:StatusCodes() - 0s
[TRACE] 06:56:31.078 shell.go:Getenv(LOCALAPPDATA) - 0s
[DEBUG] 06:56:31.078 text.go:Render:72 → Rendering template: {{ .Code }}
[DEBUG] 06:56:31.078 segment.go:SetEnabled:539 → Segment: Session
[DEBUG] 06:56:31.078 shell.go:Getenv:326 → NO DATA
[TRACE] 06:56:31.078 shell.go:Getenv(SSH_CONNECTION) - 0s
[DEBUG] 06:56:31.078 shell.go:Getenv:326 → NO DATA
[TRACE] 06:56:31.078 shell.go:Getenv(SSH_CLIENT) - 0s
[TRACE] 06:56:31.078 shell.go:TemplateCache() - 0s
[DEBUG] 06:56:31.078 properties.go:GetBool:22 → mapped_locations_enabled: true
[DEBUG] 06:56:31.079 properties.go:GetString:28 → 
[DEBUG] 06:56:31.079 properties.go:GetString:28 → 
[DEBUG] 06:56:31.079 shell_windows.go:58 → C:\Users\<SECURITY_CUT_OFF>
[TRACE] 06:56:31.079 shell.go:GOOS() - 0s
[TRACE] 06:56:31.079 shell.go:GOOS() - 0s
[DEBUG] 06:56:31.079 properties.go:GetString:28 → ~
[DEBUG] 06:56:31.079 properties.go:GetKeyValueMap:46 → mapped_locations: map[]
[TRACE] 06:56:31.079 shell.go:PathSeparator() - 0s
[TRACE] 06:56:31.079 shell.go:GOOS() - 0s
[TRACE] 06:56:31.079 shell.go:GOOS() - 0s
[TRACE] 06:56:31.079 shell.go:GOOS() - 0s
[TRACE] 06:56:31.079 shell.go:GOOS() - 0s
[TRACE] 06:56:31.079 shell.go:GOOS() - 0s
[TRACE] 06:56:31.079 shell.go:GOOS() - 0s
[TRACE] 06:56:31.079 shell.go:TemplateCache() - 0s
[TRACE] 06:56:31.079 shell.go:GOOS() - 0s
[TRACE] 06:56:31.079 shell.go:PathSeparator() - 0s
[DEBUG] 06:56:31.079 properties.go:GetBool:22 → always_enabled: true
[TRACE] 06:56:31.079 shell.go:PathSeparator() - 0s
[TRACE] 06:56:31.079 shell.go:TemplateCache() - 0s
[TRACE] 06:56:31.079 shell.go:GOOS() - 0s
[TRACE] 06:56:31.079 shell.go:GOOS() - 0s
[TRACE] 06:56:31.079 shell.go:GOOS() - 0s
[TRACE] 06:56:31.079 shell.go:PathSeparator() - 0s
[TRACE] 06:56:31.079 shell.go:GOOS() - 0s
[TRACE] 06:56:31.079 shell.go:GOOS() - 0s
[TRACE] 06:56:31.079 shell.go:GOOS() - 0s
[TRACE] 06:56:31.079 shell.go:PathSeparator() - 0s
[TRACE] 06:56:31.079 shell.go:GOOS() - 0s
[TRACE] 06:56:31.079 shell.go:GOOS() - 0s
[TRACE] 06:56:31.079 shell.go:GOOS() - 0s
[TRACE] 06:56:31.079 shell.go:PathSeparator() - 0s
[TRACE] 06:56:31.079 shell.go:PathSeparator() - 0s
[TRACE] 06:56:31.079 shell.go:PathSeparator() - 0s
[DEBUG] 06:56:31.079 properties.go:GetString:28 → NO DATA
[DEBUG] 06:56:31.079 shell_windows.go:58 → C:\Users\<SECURITY_CUT_OFF>
[TRACE] 06:56:31.079 shell.go:PathSeparator() - 0s
[TRACE] 06:56:31.079 shell.go:PathSeparator() - 0s
[TRACE] 06:56:31.079 shell.go:PathSeparator() - 0s
[TRACE] 06:56:31.079 shell.go:PathSeparator() - 0s
[DEBUG] 06:56:31.079 properties.go:GetString:28 → folder
[TRACE] 06:56:31.079 shell.go:GOOS() - 0s
[TRACE] 06:56:31.079 shell.go:GOOS() - 0s
[TRACE] 06:56:31.079 shell.go:GOOS() - 0s
[TRACE] 06:56:31.079 shell.go:GOOS() - 0s
[TRACE] 06:56:31.079 shell.go:GOOS() - 0s
[TRACE] 06:56:31.079 shell.go:GOOS() - 0s
[TRACE] 06:56:31.079 shell.go:GOOS() - 0s
[TRACE] 06:56:31.079 shell.go:GOOS() - 0s
[TRACE] 06:56:31.079 shell.go:GOOS() - 0s
[TRACE] 06:56:31.079 shell.go:GOOS() - 0s
[TRACE] 06:56:31.079 shell.go:PathSeparator() - 0s
[DEBUG] 06:56:31.079 properties.go:GetString:28 → NO DATA
[TRACE] 06:56:31.079 shell.go:PathSeparator() - 0s
[DEBUG] 06:56:31.079 properties.go:GetString:28 → \
[TRACE] 06:56:31.079 shell.go:Pwd() - 0s
[TRACE] 06:56:31.079 shell.go:TemplateCache() - 0s
[TRACE] 06:56:31.079 shell.go:StackCount() - 0s
[DEBUG] 06:56:31.081 win32_windows.go:isWriteable:299 → not current user or in group
[DEBUG] 06:56:31.081 win32_windows.go:isWriteable:303 → current user is member of S-1-5-32-544
[DEBUG] 06:56:31.081 win32_windows.go:isWriteable:311 ↓
    WRITE_DAC
    WRITE_OWNER
    SYNCHRONIZE
    DELETE
    READ_CONTROL
[DEBUG] 06:56:31.081 win32_windows.go:isWriteable:313 → user has write access
[TRACE] 06:56:31.081 shell_windows.go:DirIsWritable() - 1.0757ms
[TRACE] 06:56:31.081 shell.go:TemplateCache() - 0s
[DEBUG] 06:56:31.097 shell.go:CommandPath:553 → C:\PROGRAM FILES\GIT\CMD\git.exe
[TRACE] 06:56:31.097 shell.go:CommandPath(git.exe) - 18.9693ms
[TRACE] 06:56:31.097 shell.go:HasCommand(git.exe) - 18.9693ms
[TRACE] 06:56:31.097 shell.go:Pwd() - 0s
[TRACE] 06:56:31.097 shell.go:HasParentFilePath(.git) - 0s
[DEBUG] 06:56:31.097 properties.go:GetStringArray:52 → exclude_folders: []
[DEBUG] 06:56:31.097 shell_windows.go:58 → C:\Users\<SECURITY_CUT_OFF>
[TRACE] 06:56:31.097 shell.go:GOOS() - 0s
[TRACE] 06:56:31.097 shell.go:GOOS() - 0s
[TRACE] 06:56:31.097 shell.go:GOOS() - 0s
[DEBUG] 06:56:31.097 properties.go:GetBool:22 → fetch_user: false
[TRACE] 06:56:31.097 shell.go:GOOS() - 0s
[TRACE] 06:56:31.097 shell.go:GOOS() - 0s
[TRACE] 06:56:31.097 shell.go:GOOS() - 0s
[TRACE] 06:56:31.097 shell.go:GOOS() -option 0s
[TRACE] 06:56:31.097 shell.go:GOOS() - 0s
[TRACE] 06:56:31.097 shell.go:GOOS() - 0s
[TRACE] 06:56:31.097 shell.go:GOOS() - 0s
[TRACE] 06:56:31.097 shell.go:GOOS() - 0s
[TRACE] 06:56:31.097 shell.go:GOOS() - 0s
[DEBUG] 06:56:31.097 shell.go:Getenv:326 → NO DATA
[TRACE] 06:56:31.097 shell.go:Getenv(POSH_GIT_STATUS) - 0s
[DEBUG] 06:56:31.097 properties.go:GetBool:22 → fetch_status: true
[DEBUG] 06:56:31.097 properties.go:GetStringArray:52 → ignore_status: []
[DEBUG] 06:56:31.097 shell_windows.go:58 → C:\Users\<SECURITY_CUT_OFF>
[TRACE] 06:56:31.097 shell.go:GOOS() - 0s
[DEBUG] 06:56:31.097 properties.go:GetKeyValueMap:46 → status_formats: map[]
[DEBUG] 06:56:31.097 properties.go:GetKeyValueMap:46 → untracked_modes: map[]
[DEBUG] 06:56:31.097 properties.go:GetKeyValueMap:46 → ignore_submodules: map[]
[DEBUG] 06:56:31.183 shell.go:RunCommand:531 ↓
    # branch.oid 2a1954ab20149c1c78d593cfeed5f22006c9be0d
    # branch.head main
    # branch.upstream keenetic/main
    # branch.ab +0 -0
    ? .vscode/
    ? <SECURITY_CUT_OFF>
    ? <SECURITY_CUT_OFF>
    ? <SECURITY_CUT_OFF>
    ? <SECURITY_CUT_OFF>
[TRACE] 06:56:31.183 shell.go:RunCommand(git.exe -C C:/Users/<SECURITY_CUT_OFF>/Documents/<SECURITY_CUT_OFF> --no-optional-locks -c core.quotepath=false -c color.status=false status -unormal --branch --porcelain=2) - 85.7368ms
[DEBUG] 06:56:31.183 properties.go:GetString:28 → 
[DEBUG] 06:56:31.183 properties.go:GetInt:40 → branch_max_length: 25
[DEBUG] 06:56:31.183 shell.go:HasFolder:438 → false
[TRACE] 06:56:31.183 shell.go:HasFolder(C:\Users\<SECURITY_CUT_OFF>\.git/rebase-merge) - 0s
[DEBUG] 06:56:31.183 shell.go:HasFolder:438 → false
[TRACE] 06:56:31.183 shell.go:HasFolder(C:\Users\<SECURITY_CUT_OFF>\.git/rebase-apply) - 0s
[DEBUG] 06:56:31.183 properties.go:GetString:28 → 
[DEBUG] 06:56:31.184 shell.go:HasFilesInDir:409 → false
[TRACE] 06:56:31.184 shell.go:HasFilesInDir(MERGE_MSG) - 739.3µs
[DEBUG] 06:56:31.184 shell.go:HasFilesInDir:409 → false
[TRACE] 06:56:31.184 shell.go:HasFilesInDir(CHERRY_PICK_HEAD) - 0s
[DEBUG] 06:56:31.184 shell.go:HasFilesInDir:409 → false
[TRACE] 06:56:31.184 shell.go:HasFilesInDir(REVERT_HEAD) - 0s
[DEBUG] 06:56:31.184 shell.go:HasFilesInDir:409 → false
[TRACE] 06:56:31.184 shell.go:HasFilesInDir(sequencer/todo) - 0s
[DEBUG] 06:56:31.184 properties.go:GetString:28 → ≡
[DEBUG] 06:56:31.184 properties.go:GetBool:22 → fetch_upstream_icon: true
[DEBUG] 06:56:31.184 properties.go:GetKeyValueMap:46 → upstream_icons: map[]
[DEBUG] 06:56:31.184 properties.go:GetString:28 → 
[TRACE] 06:56:31.184 shell.go:TemplateCache() - 0s
[DEBUG] 06:56:31.184 text.go:Render:72 → Rendering template:  {{ if gt .Code 0 }}{{ else }}{{ end }}
[DEBUG] 06:56:31.184 text.go:Render:72 → Rendering template:   {{ path .Path .Location }}
[DEBUG] 06:56:31.184 text.go:Render:72 → Rendering template:  {{ if .SSHSession }} {{ end }}{{ .UserName }}
[DEBUG] 06:56:31.184 text.go:Render:72 → Rendering template:  {{ if .UpstreamURL }}{{ url .UpstreamIcon .UpstreamURL }} {{ end }}{{ .HEAD }}{{if .BranchStatus }} {{ .BranchStatus }}{{ end }}{{ if .Working.Changed }}  {{ .Working.String }}{{ end }}{{ if .Staging.Changed }}  {{ .Staging.String }}{{ end }}
[TRACE] 06:56:31.186 shell.go:TemplateCache() - 0s
[TRACE] 06:56:31.186 shell.go:TemplateCache() - 0s
[TRACE] 06:56:31.186 shell.go:Shell() - 0s
[TRACE] 06:56:31.186 shell.go:Shell() - 0s
[TRACE] 06:56:31.186 shell.go:TemplateCache() - 0s
[TRACE] 06:56:31.186 shell.go:Shell() - 0s
[TRACE] 06:56:31.186 shell.go:TemplateCache() - 0s
[TRACE] 06:56:31.187 shell.go:Shell() - 0s
[DEBUG] 06:56:31.187 text.go:Render:72 → Rendering template: diamond
[DEBUG] 06:56:31.187 text.go:Render:72 → Rendering template: powerline
[DEBUG] 06:56:31.187 text.go:Render:72 → Rendering template: {{ if or (.Working.Changed) (.Staging.Changed) }}p:yellow{{ end }}
[TRACE] 06:56:31.187 shell.go:TemplateCache() - 0s
[DEBUG] 06:56:31.187 text.go:Render:72 → Rendering template: {{ if or (.Working.Changed) (.Staging.Changed) }}p:black{{ end }}
[TRACE] 06:56:31.188 shell.go:TemplateCache() - 0s
[DEBUG] 06:56:31.188 text.go:Render:72 → Rendering template: powerline
[DEBUG] 06:56:31.188 text.go:Render:72 → Rendering template: powerline
[DEBUG] 06:56:31.188 text.go:Render:72 → Rendering template: {{ if gt .Code 0 }}p:red{{ end }}
[TRACE] 06:56:31.188 shell.go:TemplateCache() - 0s
[DEBUG] 06:56:31.188 text.go:Render:72 → Rendering template: diamond
[TRACE] 06:56:31.188 shell.go:Shell() - 0s
[TRACE] 06:56:31.188 shell.go:Shell() - 0s
[TRACE] 06:56:31.188 shell.go:Shell() - 0s
[TRACE] 06:56:31.188 shell.go:Shell() - 0s
[TRACE] 06:56:31.188 shell.go:Flags() - 0s
[TRACE] 06:56:31.188 shell.go:Pwd() - 0s
[DEBUG] 06:56:31.188 shell_windows.go:58 → C:\Users\<SECURITY_CUT_OFF>
[TRACE] 06:56:31.188 shell.go:GOOS() - 0s
[DEBUG] 06:56:31.188 segment.go:SetEnabled:539 → Segment: Time
[DEBUG] 06:56:31.188 properties.go:GetString:28 → 15:04:05
[TRACE] 06:56:31.188 shell.go:TemplateCache() - 0s
[TRACE] 06:56:31.188 shell.go:Flags() - 0s
[DEBUG] 06:56:31.188 properties.go:GetString:28 → files
[TRACE] 06:56:31.188 shell.go:Pwd() - 0s
[TRACE] 06:56:31.188 shell.go:Pwd() - 0s
[DEBUG] 06:56:31.188 shell_windows.go:58 → C:\Users\<SECURITY_CUT_OFF>
[TRACE] 06:56:31.188 shell.go:GOOS() - 0s
[DEBUG] 06:56:31.188 segment.go:SetEnabled:539 → Segment: Python
[DEBUG] 06:56:31.188 shell_windows.go:58 → C:\Users\<SECURITY_CUT_OFF>
[TRACE] 06:56:31.188 shell.go:GOOS() - 0s
[DEBUG] 06:56:31.188 segment.go:SetEnabled:539 → Segment: Go
[TRACE] 06:56:31.188 shell.go:Flags() - 0s
[DEBUG] 06:56:31.188 properties.go:GetStringArray:52 → extensions: [*.go go.mod]
[DEBUG] 06:56:31.188 properties.go:GetStringArray:52 → folders: []
[TRACE] 06:56:31.188 shell.go:Pwd() - 0s
[DEBUG] 06:56:31.188 properties.go:GetBool:22 → home_enabled: false
[TRACE] 06:56:31.188 shell.go:Pwd() - 0s
[DEBUG] 06:56:31.188 shell_windows.go:58 → C:\Users\<SECURITY_CUT_OFF>
[DEBUG] 06:56:31.188 shell_windows.go:58 → C:\Users\<SECURITY_CUT_OFF>
[DEBUG] 06:56:31.188 properties.go:GetString:28 → files
[TRACE] 06:56:31.188 shell.go:GOOS() - 0s
[DEBUG] 06:56:31.188 properties.go:GetStringArray:52 → extensions: [*.py *.ipynb pyproject.toml venv.bak]
[TRACE] 06:56:31.188 shell.go:Pwd() - 0s
[DEBUG] 06:56:31.188 segment.go:SetEnabled:539 → Segment: Node
[DEBUG] 06:56:31.188 properties.go:GetStringArray:52 → folders: [.venv venv virtualenv venv-win pyenv-win]
[TRACE] 06:56:31.188 shell.go:Flags() - 0s
[DEBUG] 06:56:31.188 properties.go:GetStringArray:52 → extensions: [*.js *.ts package.json .nvmrc pnpm-workspace.yaml .pnpmfile.cjs .vue]      
[DEBUG] 06:56:31.188 properties.go:GetBool:22 → home_enabled: false
[DEBUG] 06:56:31.188 properties.go:GetStringArray:52 → folders: []
[TRACE] 06:56:31.188 shell.go:Pwd() - 0s
[DEBUG] 06:56:31.188 properties.go:GetBool:22 → home_enabled: false
[TRACE] 06:56:31.188 shell.go:Pwd() - 0s
[DEBUG] 06:56:31.188 shell_windows.go:58 → C:\Users\<SECURITY_CUT_OFF>
[DEBUG] 06:56:31.188 shell_windows.go:58 → C:\Users\<SECURITY_CUT_OFF>
[DEBUG] 06:56:31.188 shell_windows.go:58 → C:\Users\<SECURITY_CUT_OFF>
[TRACE] 06:56:31.188 shell.go:GOOS() - 0s
[DEBUG] 06:56:31.188 properties.go:GetString:28 → files
[DEBUG] 06:56:31.188 properties.go:GetBool:22 → fetch_virtual_env: false
[DEBUG] 06:56:31.188 properties.go:GetBool:22 → fetch_package_manager: false
[DEBUG] 06:56:31.188 segment.go:SetEnabled:539 → Segment: Shell
[TRACE] 06:56:31.188 shell.go:Pwd() - 0s
[TRACE] 06:56:31.188 shell.go:Pwd() - 0s
[DEBUG] 06:56:31.188 properties.go:GetKeyValueMap:46 → mapped_shell_names: map[]
[TRACE] 06:56:31.188 shell.go:Shell() - 0s
[TRACE] 06:56:31.188 shell.go:Flags() - 0s
[TRACE] 06:56:31.188 shell.go:TemplateCache() - 0s
[DEBUG] 06:56:31.189 shell.go:HasFilesInDir:409 → false
[TRACE] 06:56:31.189 shell.go:HasFilesInDir(*.go) - 525.9µs
[TRACE] 06:56:31.189 shell.go:Pwd() - 0s
[DEBUG] 06:56:31.189 shell.go:HasFilesInDir:409 → false
[TRACE] 06:56:31.189 shell.go:HasFilesInDir(go.mod) - 0s
[DEBUG] 06:56:31.189 shell.go:HasFilesInDir:409 → false
[TRACE] 06:56:31.189 shell.go:HasFilesInDir(*.js) - 525.9µs
[TRACE] 06:56:31.189 shell.go:Pwd() - 0s
[DEBUG] 06:56:31.189 shell.go:HasFilesInDir:409 → false
[TRACE] 06:56:31.189 shell.go:HasFilesInDir(*.ts) - 0s
[DEBUG] 06:56:31.189 shell.go:HasFilesInDir:409 → false
[TRACE] 06:56:31.189 shell.go:HasFilesInDir(*.py) - 525.9µs
[TRACE] 06:56:31.189 shell.go:Pwd() - 0s
[TRACE] 06:56:31.189 shell.go:Pwd() - 0s
[DEBUG] 06:56:31.189 shell.go:HasFilesInDir:409 → false
[TRACE] 06:56:31.189 shell.go:HasFilesInDir(package.json) - 0s
[DEBUG] 06:56:31.189 shell.go:HasFilesInDir:409 → false
[TRACE] 06:56:31.189 shell.go:HasFilesInDir(*.ipynb) - 0s
[TRACE] 06:56:31.189 shell.go:Pwd() - 0s
[TRACE] 06:56:31.189 shell.go:Pwd() - 0s
[DEBUG] 06:56:31.189 shell.go:HasFilesInDir:409 → false
[DEBUG] 06:56:31.189 shell.go:HasFilesInDir:409 → false
[TRACE] 06:56:31.189 shell.go:HasFilesInDir(pyproject.toml) - 0s
[TRACE] 06:56:31.189 shell.go:HasFilesInDir(.nvmrc) - 0s
[TRACE] 06:56:31.189 shell.go:Pwd() - 0s
[TRACE] 06:56:31.189 shell.go:Pwd() - 0s
[DEBUG] 06:56:31.189 shell.go:HasFilesInDir:409 → false
[DEBUG] 06:56:31.189 shell.go:HasFilesInDir:409 → false
[TRACE] 06:56:31.189 shell.go:HasFilesInDir(venv.bak) - 0s
[TRACE] 06:56:31.189 shell.go:HasFilesInDir(pnpm-workspace.yaml) - 0s
[TRACE] 06:56:31.189 shell.go:Pwd() - 0s
[DEBUG] 06:56:31.189 shell.go:HasFilesInDir:409 → false
[TRACE] 06:56:31.189 shell.go:HasFilesInDir(.pnpmfile.cjs) - 0s
[TRACE] 06:56:31.189 shell.go:Pwd() - 0s
[DEBUG] 06:56:31.189 shell.go:HasFilesInDir:409 → false
[TRACE] 06:56:31.189 shell.go:HasFilesInDir(.vue) - 0s
[DEBUG] 06:56:31.189 shell.go:HasFolder:438 → false
[TRACE] 06:56:31.189 shell.go:HasFolder(.venv) - 0s
[DEBUG] 06:56:31.189 shell.go:HasFolder:438 → false
[TRACE] 06:56:31.189 shell.go:HasFolder(venv) - 520.7µs
[DEBUG] 06:56:31.189 shell.go:HasFolder:438 → false
[TRACE] 06:56:31.189 shell.go:HasFolder(virtualenv) - 0s
[DEBUG] 06:56:31.189 shell.go:HasFolder:438 → false
[TRACE] 06:56:31.189 shell.go:HasFolder(venv-win) - 0s
[DEBUG] 06:56:31.190 shell.go:HasFolder:438 → false
[TRACE] 06:56:31.190 shell.go:HasFolder(pyenv-win) - 519.6µs
[DEBUG] 06:56:31.190 text.go:Render:72 → Rendering template: at <p:blue><b>{{ .CurrentDate | date "15:04:05" }}</b></>
[DEBUG] 06:56:31.190 text.go:Render:72 → Rendering template: in <p:blue><b>{{ .Name }}</b></>
[TRACE] 06:56:31.190 shell.go:TemplateCache() - 0s
[TRACE] 06:56:31.190 shell.go:TemplateCache() - 0s
[TRACE] 06:56:31.190 shell.go:Shell() - 0s
[TRACE] 06:56:31.190 shell.go:Shell() - 0s
[DEBUG] 06:56:31.190 text.go:Render:72 → Rendering template: plain
[DEBUG] 06:56:31.190 text.go:Render:72 → Rendering template: plain
[DEBUG] 06:56:31.190 text.go:Render:72 → Rendering template: plain
[DEBUG] 06:56:31.190 text.go:Render:72 → Rendering template: plain
[DEBUG] 06:56:31.190 text.go:Render:72 → Rendering template: plain
[TRACE] 06:56:31.190 shell.go:Shell() - 0s
[TRACE] 06:56:31.190 shell.go:Shell() - 0s
[TRACE] 06:56:31.190 shell.go:Flags() - 0s
[TRACE] 06:56:31.190 shell.go:Shell() - 0s
[TRACE] 06:56:31.190 shell.go:Shell() - 0s
[DEBUG] 06:56:31.190 shell_windows.go:TerminalWidth:111 → terminal width: 143
[TRACE] 06:56:31.190 shell_windows.go:TerminalWidth() - 0s
[DEBUG] 06:56:31.190 shell.go:Getenv:326 → C:\Users\<SECURITY_CUT_OFF>\AppData\Local
[TRACE] 06:56:31.190 shell.go:Getenv(LOCALAPPDATA) - 0s
[TRACE] 06:56:31.190 shell_windows.go:CachePath() - 0s
[TRACE] 06:56:31.190 shell.go:Flags() - 0s
kingyue737 commented 3 months ago

Duplicate #5089 #5027 Related https://github.com/microsoft/vscode/issues/211922

JanDeDobbeleer commented 3 months 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
}
github-actions[bot] commented 3 weeks 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.