JanDeDobbeleer / oh-my-posh

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

Prompt is often rendered in black and white #4814

Closed sba923 closed 5 months ago

sba923 commented 5 months ago

Code of Conduct

What happened?

I often get this kind of rendering of the prompt these days:

Screenshot of Settings on 2024-04-02 09_35_16

This might have been introduced by a recent Windows Terminal change. I'm running Windows Terminal Preview v1.20.10822.0

Theme

sba.json

What OS are you seeing the problem on?

Windows

Which shell are you using?

powershell

Log output

Version: 19.19.0

Shell: pwsh (7.4.1)

Prompt:

]133;D;0]133;A <REDACTED>@<REDACTED>  tools ⌛0ms⠀   ]133;B7                                                                                               100  10:47:39 8

Segments:

ConsoleTitle(true)                         -   2 ms
Session(true)                              -   0 ms
Path(true)                                 -   2 ms
Shell(false)                               -   0 ms
Text(false)                                -   0 ms
Git(false)                                 -  11 ms
Node(false)                                -   1 ms
Dotnet(false)                              -   1 ms
Aws(false)                                 -   1 ms
Root(false)                                -   0 ms
Executiontime(true)                        -   0 ms
Status(true)                               -   1 ms
Battery(true)                              -   9 ms
Time(true)                                 -   0 ms

Run duration: 40.1315ms

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

Config path: C:\private_<REDACTED>\PowerShell\oh-my-posh\Themes\sba.json

Logs:

[DEBUG] 10:47:39.528 shell.go:Getenv:325 → NO DATA
[TRACE] 10:47:39.529 shell.go:Getenv(TERM_PROGRAM) - 1.0002ms
[DEBUG] 10:47:39.529 shell.go:Getenv:325 → C:\Users\<REDACTED>\AppData\Local
[TRACE] 10:47:39.529 shell.go:Getenv(LOCALAPPDATA) - 0s
[TRACE] 10:47:39.529 shell_windows.go:CachePath() - 0s
[DEBUG] 10:47:39.530 shell.go:Getenv:325 → C:\private_<REDACTED>\PowerShell\oh-my-posh\Themes\sba.json
[TRACE] 10:47:39.530 shell.go:Getenv(POSH_THEME) - 0s
[DEBUG] 10:47:39.530 shell.go:Shell:593 → no shell name provided in flags, trying to detect it
[DEBUG] 10:47:39.542 shell.go:Shell:601 → process name: pwsh.exe
[TRACE] 10:47:39.542 shell.go:Shell() - 11.52ms
[TRACE] 10:47:39.542 shell.go:resolveConfigPath() - 11.52ms
[TRACE] 10:47:39.542 shell.go:Init() - 13.5203ms
[TRACE] 10:47:39.542 shell.go:Flags() - 0s
[TRACE] 10:47:39.542 config.go:loadConfig() - 611.1┬╡s
[TRACE] 10:47:39.542 shell.go:Flags() - 0s
[TRACE] 10:47:39.542 shell.go:Shell() - 0s
[DEBUG] 10:47:39.542 shell.go:Getenv:325 → NO DATA
[TRACE] 10:47:39.542 shell.go:Getenv(OMP_CACHE_DISABLED) - 0s
[TRACE] 10:47:39.542 shell_windows.go:WindowsRegistryKeyValue(HKEY_CURRENT_USER\Software\Microsoft\Windows\DWM\ColorizationColor) - 0s
[TRACE] 10:47:39.542 shell.go:GOOS() - 0s
[TRACE] 10:47:39.542 shell.go:GOOS() - 0s
[TRACE] 10:47:39.542 shell.go:GOOS() - 0s
[TRACE] 10:47:39.542 shell.go:GOOS() - 0s
[TRACE] 10:47:39.542 shell.go:GOOS() - 0s
[TRACE] 10:47:39.542 shell.go:GOOS() - 0s
[TRACE] 10:47:39.542 shell.go:GOOS() - 0s
[TRACE] 10:47:39.542 shell.go:GOOS() - 0s
[TRACE] 10:47:39.542 shell.go:GOOS() - 0s
[TRACE] 10:47:39.542 shell.go:GOOS() - 0s
[TRACE] 10:47:39.542 shell.go:GOOS() - 0s
[TRACE] 10:47:39.542 shell.go:GOOS() - 0s
[TRACE] 10:47:39.542 shell.go:GOOS() - 0s
[TRACE] 10:47:39.542 shell.go:GOOS() - 0s
[TRACE] 10:47:39.542 shell.go:GOOS() - 0s
[TRACE] 10:47:39.542 shell.go:GOOS() - 0s
[TRACE] 10:47:39.542 shell.go:GOOS() - 0s
[TRACE] 10:47:39.542 shell.go:GOOS() - 0s
[TRACE] 10:47:39.542 shell.go:GOOS() - 0s
[DEBUG] 10:47:39.542 shell_windows.go:WindowsRegistryKeyValue:217 → ColorizationColor(DWORD): 0xC41B5A4A
[TRACE] 10:47:39.542 shell.go:Shell() - 0s
[DEBUG] 10:47:39.542 shell.go:Getenv:325 → 7.4.1
[TRACE] 10:47:39.542 shell.go:Getenv(POSH_SHELL_VERSION) - 0s
[DEBUG] 10:47:39.542 debug.go:PrintDebug:22 → Segment: Title
[DEBUG] 10:47:39.542 text.go:Render:70 → Rendering template: {{ .Folder }}
[TRACE] 10:47:39.543 shell_windows.go:Root() - 0s
[TRACE] 10:47:39.543 shell.go:Shell() - 0s
[TRACE] 10:47:39.543 shell.go:StatusCodes() - 0s
[TRACE] 10:47:39.543 shell_windows.go:IsWsl() - 0s
[DEBUG] 10:47:39.543 shell.go:TemplateCache:774 → environment: [ALLUSERSPROFILE=C:\ProgramData APPDATA=C:\Users\<REDACTED>\AppData\Roaming CommonProgramFiles=C:\Program Files\Common Files CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files CommonProgramW6432=C:\Program Files\Common Files COMPUTERNAME=<REDACTED> ComSpec=C:\WINDOWS\system32\cmd.exe CONDA_PROMPT_MODIFIER=False DIRSEP=\ DriverData=C:\Windows\System32\Drivers\DriverData HOME=c:\private_<REDACTED> HOMEDRIVE=C: HOMEPATH=\Users\<REDACTED> IGCCSVC_DB=AQAAANCMnd8BFdERjHoAwE/Cl+sBAAAAdIH1b+4Jf0eEBLsS3kKv2wQAAAACAAAAAAAQZgAAAAEAACAAAAD3zUnvctuZx64sk+EcL8giZwUiXwEhdoY72019nx64xAAAAAAOgAAAAAIAACAAAABaCxK/YMSzyRQlw9o5f/t+ihzRi23MFigko3Qt7MXBxmAAAABg9+Rfh+uj3rhgn94cy9LRJU8zb0c/zynrqmX4c5X2I6wLgZ55sUg+QmWlz/HV/4Yl/u/JOgZxs7S6H3DrMMLIg8C72yLU1/ys4WAKA6WglpO2ruHkHE/ZXOOh7lxwKOtAAAAAKrDj1LS4BiG45u9wJ90xiafmmQ/2m0vkzxjKbcG3do8QWOvmeATkIecVO/zZKJVBfmb7OQTn2ZGom9nJRVAx9w== <REDACTED>_GLOBAL_PATH=C:\Users\<REDACTED>\AppData\Local\Programs\AXIUM Toolkit LOCALAPPDATA=C:\Users\<REDACTED>\AppData\Local LOGONSERVER=\\FRSNADCTL13 NUMBER_OF_PROCESSORS=16 OneDrive=C:\Users\<REDACTED>\OneDrive - <REDACTED> Group OneDriveCommercial=C:\Users\<REDACTED>\OneDrive - <REDACTED> Group OS=Windows_NT Path=C:\Program Files\PowerShell\7;C:\Program Files\ImageMagick-7.1.1-Q16-HDRI;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\Program Files\Eclipse Adoptium\jdk-17.0.8.101-hotspot\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\Program Files\nodejs\;C:\Program Files\dotnet\;C:\Program Files\gs\gs10.00.0\bin;C:\Program Files (x86)\gnupg\bin;C:\Program Files (x86)\Plantronics\Spokes3G\;C:\Program Files (x86)\Windows Kits\10\Microsoft Application Virtualization\Sequencer\;C:\Program Files\NVIDIA Corporation\NVIDIA NvDLISR;C:\Program Files\TortoiseGit\bin;C:\Program Files (x86)\Windows Kits\10\Windows Performance Toolkit\;C:\Program Files\WinGet\Links;C:\Program Files\PowerShell\7\;C:\Program Files\CMake\bin;C:\Program Files\Git\cmd;C:\Program Files (x86)\Gpg4win\..\GnuPG\bin;C:\Program Files\Microsoft SQL Server\150\Tools\Binn\;C:\Program Files\Amazon\AWSCLIV2\;C:\Users\<REDACTED>\AppData\Local\Programs\Python\Python310\Scripts\;C:\Users\<REDACTED>\AppData\Local\Programs\Python\Python310\;C:\Users\<REDACTED>\AppData\Local\Microsoft\WindowsApps;c:\private_<REDACTED>\usr\wbin;;C:\Users\<REDACTED>\AppData\Local\Programs\oh-my-posh\bin;C:\Users\<REDACTED>\AppData\Local\Programs\Microsoft VS Code\bin;C:\Users\<REDACTED>\AppData\Roaming\npm;C:\Users\<REDACTED>\.dotnet\tools;C:\Users\<REDACTED>\.dotnet\tools;C:\Users\<REDACTED>\AppData\Local\Programs\AXIUM Toolkit;C:\Users\<REDACTED>\AppData\Local\Programs\Fiddler;C:\Users\<REDACTED>\.dotnet\tools;C:\Users\<REDACTED>\AppData\Local\Programs\AXIUM Toolkit;c:\private_<REDACTED>\bin\home;c:\private_<REDACTED>\bin\home\windows;c:\private_<REDACTED>\bin\work\windows;c:\private_<REDACTED>\bin\work\windows\x86;c:\private_<REDACTED>\bin\windows;c:\private_<REDACTED>\bin\windows\x64;c:\private_<REDACTED>\bin\windows\x86;c:\private_<REDACTED>\bin;c:\private_<REDACTED>\PowerShell;c:\private_<REDACTED>\PowerShell\work;c:\private_<REDACTED>\PowerShell\home PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC;.CPL PATHSEP=; POSH_AZURE_ENABLED=False POSH_CURSOR_COLUMN=1 POSH_CURSOR_LINE=30 POSH_GIT_ENABLED=False POSH_INSTALLER=winget POSH_PID=13060 POSH_SHELL_VERSION=7.4.1 POSH_THEME=C:\private_<REDACTED>\PowerShell\oh-my-posh\Themes\sba.json POSH_THEMES_PATH=C:\Users\<REDACTED>\AppData\Local\Programs\oh-my-posh\themes POWERLINE_COMMAND=oh-my-posh POWERSHELL_DISTRIBUTION_CHANNEL=MSI:Windows 10 Enterprise PROCESSOR_ARCHITECTURE=AMD64 PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 141 Stepping 1, GenuineIntel PROCESSOR_LEVEL=6 PROCESSOR_REVISION=8d01 ProgramData=C:\ProgramData ProgramFiles=C:\Program Files ProgramFiles(x86)=C:\Program Files (x86) ProgramW6432=C:\Program Files PSHOME=c:\private_<REDACTED> PSModulePath=C:\Users\<REDACTED>\OneDrive - <REDACTED> Group\Documents\PowerShell\Modules;C:\Program Files\PowerShell\Modules;c:\program files\powershell\7\Modules;C:\Program Files (x86)\WindowsPowerShell\Modules;C:\WINDOWS\system32\WindowsPowerShell\v1.0\Modules;C:\Program Files (x86)\AutoIt3\AutoItX;C:\Program Files (x86)\Windows Kits\10\Microsoft Application Virtualization\Sequencer\AppvPkgConverter;C:\Program Files (x86)\Windows Kits\10\Microsoft Application Virtualization\Sequencer\AppvSequencer;C:\Program Files (x86)\Windows Kits\10\Microsoft Application Virtualization\ PSPlatform=Windows PUBLIC=C:\Users\Public PYTHONIOENCODING=UTF-8 SciTE_HOME=C:\ProgramData\SciTE SciTE_USERHOME=C:\Users\<REDACTED>\AppData\Roaming\SciTE SESSIONNAME=Console SystemDrive=C: SystemRoot=C:\WINDOWS TEMP=C:\Users\<REDACTED>\AppData\Local\Temp TMP=C:\Users\<REDACTED>\AppData\Local\Temp UATDATA=C:\WINDOWS\CCM\UATData\D9F8C395-CAB8-491d-B8AC-179A1FE1BE77 USERDNSDOMAIN=USR.<REDACTED>.LOC USERDOMAIN=USR<REDACTED> USERDOMAIN_ROAMINGPROFILE=USR<REDACTED> USERNAME=<REDACTED> USERPROFILE=C:\Users\<REDACTED> windir=C:\WINDOWS WSLENV=WT_SESSION:WT_PROFILE_ID: WT_PROFILE_ID={574e775e-4f2a-5b96-ac1e-a2962a402336} WT_SESSION=7532b71f-af72-4ce2-a2cb-313af4a9c61d ZES_ENABLE_SYSMAN=1]
[TRACE] 10:47:39.543 shell.go:GOOS() - 0s
[DEBUG] 10:47:39.544 shell.go:Pwd:355 → C:\Users\<REDACTED>\<REDACTED> Group\<REDACTED> – Projects - Documents\<REDACTED> Payment\test\tools
[TRACE] 10:47:39.544 shell.go:Pwd() - 1.1385ms
[DEBUG] 10:47:39.544 shell_windows.go:58 → c:\private_<REDACTED>
[TRACE] 10:47:39.544 shell.go:GOOS() - 0s
[TRACE] 10:47:39.544 shell.go:GOOS() - 0s
[TRACE] 10:47:39.544 shell.go:GOOS() - 0s
[TRACE] 10:47:39.544 shell.go:GOOS() - 0s
[TRACE] 10:47:39.544 shell.go:GOOS() - 0s
[TRACE] 10:47:39.544 shell.go:GOOS() - 0s
[TRACE] 10:47:39.544 shell.go:GOOS() - 0s
[TRACE] 10:47:39.544 shell.go:GOOS() - 0s
[DEBUG] 10:47:39.544 shell.go:User:493 → <REDACTED>
[TRACE] 10:47:39.544 shell.go:User() - 0s
[DEBUG] 10:47:39.544 shell.go:Host:505 → <REDACTED>
[TRACE] 10:47:39.544 shell.go:Host() - 519.6┬╡s
[TRACE] 10:47:39.544 shell.go:GOOS() - 0s
[DEBUG] 10:47:39.544 shell.go:Getenv:325 → NO DATA
[TRACE] 10:47:39.544 shell.go:Getenv(SHLVL) - 0s
[TRACE] 10:47:39.544 shell.go:TemplateCache() - 1.6581ms
[TRACE] 10:47:39.544 shell.go:StatusCodes() - 0s
[TRACE] 10:47:39.544 shell.go:Flags() - 0s
[DEBUG] 10:47:39.544 shell.go:Getenv:325 → 30
[TRACE] 10:47:39.544 shell.go:Getenv(POSH_CURSOR_LINE) - 0s
[DEBUG] 10:47:39.544 shell.go:Getenv:325 → 1
[TRACE] 10:47:39.544 shell.go:Getenv(POSH_CURSOR_COLUMN) - 0s
[TRACE] 10:47:39.544 shell.go:Flags() - 0s
[TRACE] 10:47:39.544 shell.go:Flags() - 0s
[TRACE] 10:47:39.544 shell.go:Shell() - 0s
[TRACE] 10:47:39.544 shell.go:Shell() - 0s
[TRACE] 10:47:39.544 shell.go:Flags() - 0s
[TRACE] 10:47:39.544 shell.go:Flags() - 0s
[TRACE] 10:47:39.544 shell.go:Flags() - 0s
[DEBUG] 10:47:39.544 properties.go:GetString:28 → {{ if ne .Code 0 }} ({{ if or (gt .Code 255) (lt .Code 0) }}{{ .Code | hresult }}{{ else }}{{.Code}}{{ end }}){{ else }}{{ end }}
[TRACE] 10:47:39.544 shell.go:Pwd() - 0s
[DEBUG] 10:47:39.544 shell_windows.go:58 → c:\private_<REDACTED>
[TRACE] 10:47:39.544 shell.go:GOOS() - 0s
[TRACE] 10:47:39.544 shell.go:Pwd() - 0s
[DEBUG] 10:47:39.544 segment.go:SetEnabled:529 → Segment: Status
[TRACE] 10:47:39.544 shell.go:Pwd() - 0s
[TRACE] 10:47:39.544 shell.go:StatusCodes() - 0s
[DEBUG] 10:47:39.545 shell_windows.go:58 → c:\private_<REDACTED>
[TRACE] 10:47:39.545 shell.go:GOOS() - 0s
[DEBUG] 10:47:39.545 segment.go:SetEnabled:529 → Segment: Path
[DEBUG] 10:47:39.545 shell_windows.go:58 → c:\private_<REDACTED>
[TRACE] 10:47:39.545 shell.go:GOOS() - 0s
[TRACE] 10:47:39.545 shell.go:Flags() - 0s
[DEBUG] 10:47:39.545 segment.go:SetEnabled:529 → Segment: Git
[TRACE] 10:47:39.545 shell.go:Pwd() - 0s
[TRACE] 10:47:39.545 shell.go:Shell() - 0s
[TRACE] 10:47:39.545 shell.go:Flags() - 0s
[TRACE] 10:47:39.545 shell.go:GOOS() - 0s
[DEBUG] 10:47:39.545 text.go:Render:70 → Rendering template: {{ if ne .Code 0 }} ({{ if or (gt .Code 255) (lt .Code 0) }}{{ .Code | hresult }}{{ else }}{{.Code}}{{ end }}){{ else }}{{ end }}
[DEBUG] 10:47:39.545 shell.go:Getenv:325 → C:\Users\<REDACTED>\AppData\Local
[TRACE] 10:47:39.545 shell.go:Getenv(LOCALAPPDATA) - 0s
[TRACE] 10:47:39.545 shell.go:Pwd() - 0s
[TRACE] 10:47:39.545 shell.go:Flags() - 0s
[DEBUG] 10:47:39.545 properties.go:GetBool:22 → mapped_locations_enabled: true
[DEBUG] 10:47:39.545 properties.go:GetString:28 → 
[DEBUG] 10:47:39.545 properties.go:GetString:28 → 
[DEBUG] 10:47:39.545 shell_windows.go:58 → c:\private_<REDACTED>
[DEBUG] 10:47:39.545 shell_windows.go:58 → c:\private_<REDACTED>
[TRACE] 10:47:39.545 shell.go:GOOS() - 0s
[TRACE] 10:47:39.545 shell.go:GOOS() - 0s
[TRACE] 10:47:39.545 shell.go:GOOS() - 0s
[DEBUG] 10:47:39.545 properties.go:GetString:28 → ~
[DEBUG] 10:47:39.545 segment.go:SetEnabled:529 → Segment: Aws
[TRACE] 10:47:39.545 shell.go:Pwd() - 0s
[DEBUG] 10:47:39.545 properties.go:GetKeyValueMap:46 → mapped_locations: map[]
[DEBUG] 10:47:39.545 properties.go:GetBool:22 → display_default: false
[TRACE] 10:47:39.545 shell.go:PathSeparator() - 0s
[DEBUG] 10:47:39.545 shell.go:Getenv:325 → NO DATA
[TRACE] 10:47:39.545 shell.go:GOOS() - 0s
[TRACE] 10:47:39.545 shell.go:GOOS() - 0s
[DEBUG] 10:47:39.545 shell_windows.go:58 → c:\private_<REDACTED>
[TRACE] 10:47:39.545 shell.go:GOOS() - 0s
[DEBUG] 10:47:39.545 segment.go:SetEnabled:529 → Segment: Root
[TRACE] 10:47:39.545 shell.go:Getenv(AWS_VAULT) - 0s
[DEBUG] 10:47:39.545 shell.go:Getenv:325 → NO DATA
[TRACE] 10:47:39.545 shell.go:Getenv(AWS_DEFAULT_PROFILE) - 0s
[TRACE] 10:47:39.545 shell_windows.go:Root() - 0s
[DEBUG] 10:47:39.545 shell.go:Getenv:325 → NO DATA
[TRACE] 10:47:39.545 shell.go:Flags() - 0s
[TRACE] 10:47:39.545 shell.go:Pwd() - 0s
[DEBUG] 10:47:39.545 shell_windows.go:58 → c:\private_<REDACTED>
[TRACE] 10:47:39.545 shell.go:GOOS() - 0s
[DEBUG] 10:47:39.545 segment.go:SetEnabled:529 → Segment: Text
[TRACE] 10:47:39.545 shell.go:TemplateCache() - 0s
[TRACE] 10:47:39.545 shell.go:Getenv(AWS_PROFILE) - 0s
[TRACE] 10:47:39.545 shell.go:GOOS() - 0s
[TRACE] 10:47:39.545 shell.go:Flags() - 0s
[TRACE] 10:47:39.545 shell.go:Pwd() - 0s
[DEBUG] 10:47:39.545 shell_windows.go:58 → c:\private_<REDACTED>
[TRACE] 10:47:39.545 shell.go:GOOS() - 0s
[DEBUG] 10:47:39.545 segment.go:SetEnabled:529 → Segment: Session
[TRACE] 10:47:39.545 shell.go:Flags() - 0s
[TRACE] 10:47:39.545 shell.go:Flags() - 0s
[DEBUG] 10:47:39.545 shell.go:Getenv:325 → NO DATA
[TRACE] 10:47:39.545 shell.go:Getenv(SSH_CONNECTION) - 0s
[TRACE] 10:47:39.545 shell.go:GOOS() - 0s
[TRACE] 10:47:39.545 shell.go:GOOS() - 0s
[TRACE] 10:47:39.545 shell.go:Pwd() - 0s
[TRACE] 10:47:39.545 shell.go:Pwd() - 0s
[DEBUG] 10:47:39.545 shell_windows.go:58 → c:\private_<REDACTED>
[DEBUG] 10:47:39.545 shell_windows.go:58 → c:\private_<REDACTED>
[TRACE] 10:47:39.545 shell.go:GOOS() - 0s
[DEBUG] 10:47:39.545 segment.go:SetEnabled:529 → Segment: Shell
[DEBUG] 10:47:39.545 properties.go:GetKeyValueMap:46 → mapped_shell_names: map[pwsh:PS]
[TRACE] 10:47:39.545 shell.go:Shell() - 0s
[TRACE] 10:47:39.545 shell.go:Flags() - 0s
[TRACE] 10:47:39.545 shell.go:TemplateCache() - 0s
[DEBUG] 10:47:39.545 shell.go:Getenv:325 → NO DATA
[TRACE] 10:47:39.545 shell.go:Getenv(AWS_REGION) - 0s
[DEBUG] 10:47:39.546 shell.go:Getenv:325 → NO DATA
[TRACE] 10:47:39.546 shell.go:Getenv(AWS_DEFAULT_REGION) - 0s
[DEBUG] 10:47:39.546 shell.go:Getenv:325 → NO DATA
[DEBUG] 10:47:39.546 shell.go:Getenv:325 → NO DATA
[TRACE] 10:47:39.546 shell.go:Getenv(AWS_CONFIG_FILE) - 0s
[TRACE] 10:47:39.546 shell.go:Getenv(SSH_CLIENT) - 522.6┬╡s
[TRACE] 10:47:39.546 shell.go:TemplateCache() - 0s
[TRACE] 10:47:39.546 shell.go:GOOS() - 0s
[TRACE] 10:47:39.546 shell.go:GOOS() - 0s
[TRACE] 10:47:39.546 shell.go:Flags() - 0s
[TRACE] 10:47:39.546 shell.go:PathSeparator() - 0s
[TRACE] 10:47:39.546 shell.go:PathSeparator() - 0s
[TRACE] 10:47:39.546 shell.go:Pwd() - 0s
[TRACE] 10:47:39.546 shell.go:GOOS() - 0s
[TRACE] 10:47:39.546 shell.go:GOOS() - 0s
[DEBUG] 10:47:39.546 shell_windows.go:58 → c:\private_<REDACTED>
[TRACE] 10:47:39.546 shell.go:GOOS() - 0s
[TRACE] 10:47:39.546 shell.go:PathSeparator() - 0s
[DEBUG] 10:47:39.546 segment.go:SetEnabled:529 → Segment: Dotnet
[TRACE] 10:47:39.546 shell.go:GOOS() - 0s
[TRACE] 10:47:39.546 shell.go:GOOS() - 0s
[TRACE] 10:47:39.546 shell.go:GOOS() - 0s
[TRACE] 10:47:39.546 shell.go:PathSeparator() - 0s
[TRACE] 10:47:39.546 shell.go:GOOS() - 0s
[TRACE] 10:47:39.546 shell.go:GOOS() - 0s
[TRACE] 10:47:39.546 shell.go:GOOS() - 0s
[DEBUG] 10:47:39.546 properties.go:GetStringArray:52 → extensions: [*.cs *.csx *.vb *.sln *.slnf *.csproj *.vbproj *.fs *.fsx *.fsproj global.json]
[TRACE] 10:47:39.546 shell.go:PathSeparator() - 0s
[DEBUG] 10:47:39.546 properties.go:GetStringArray:52 → folders: []
[DEBUG] 10:47:39.546 properties.go:GetBool:22 → home_enabled: false
[TRACE] 10:47:39.546 shell.go:PathSeparator() - 0s
[TRACE] 10:47:39.546 shell.go:Pwd() - 0s
[DEBUG] 10:47:39.546 shell_windows.go:58 → c:\private_<REDACTED>
[DEBUG] 10:47:39.546 properties.go:GetString:28 → NO DATA
[DEBUG] 10:47:39.546 properties.go:GetString:28 → files
[TRACE] 10:47:39.546 shell.go:PathSeparator() - 0s
[TRACE] 10:47:39.546 shell.go:Pwd() - 0s
[TRACE] 10:47:39.546 shell.go:PathSeparator() - 0s
[TRACE] 10:47:39.546 shell.go:PathSeparator() - 0s
[TRACE] 10:47:39.546 shell.go:PathSeparator() - 0s
[TRACE] 10:47:39.546 shell.go:PathSeparator() - 0s
[TRACE] 10:47:39.546 shell.go:PathSeparator() - 0s
[TRACE] 10:47:39.546 shell.go:PathSeparator() - 0s
[TRACE] 10:47:39.546 shell.go:GOOS() - 0s
[DEBUG] 10:47:39.546 properties.go:GetString:28 → folder
[TRACE] 10:47:39.546 shell.go:GOOS() - 0s
[TRACE] 10:47:39.546 shell.go:GOOS() - 0s
[DEBUG] 10:47:39.546 segment.go:SetEnabled:529 → Segment: Executiontime
[TRACE] 10:47:39.546 shell.go:GOOS() - 0s
[TRACE] 10:47:39.546 shell.go:GOOS() - 0s
[TRACE] 10:47:39.546 shell.go:GOOS() - 0s
[TRACE] 10:47:39.546 shell.go:GOOS() - 0s
[TRACE] 10:47:39.546 shell.go:GOOS() - 0s
[TRACE] 10:47:39.546 shell.go:PathSeparator() - 0s
[DEBUG] 10:47:39.546 properties.go:GetString:28 → NO DATA
[TRACE] 10:47:39.546 shell.go:PathSeparator() - 0s
[DEBUG] 10:47:39.546 properties.go:GetBool:22 → always_enabled: true
[DEBUG] 10:47:39.546 properties.go:GetString:28 → \
[TRACE] 10:47:39.546 shell.go:ExecutionTime() - 0s
[TRACE] 10:47:39.546 shell.go:Pwd() - 0s
[TRACE] 10:47:39.546 shell_windows.go:IsWsl() - 0s
[DEBUG] 10:47:39.546 properties.go:GetFloat64:34 → threshold: 500.000000
[TRACE] 10:47:39.546 shell.go:StackCount() - 0s
[DEBUG] 10:47:39.546 properties.go:GetString:28 → austin
[TRACE] 10:47:39.546 shell.go:Flags() - 0s
[TRACE] 10:47:39.546 shell.go:TemplateCache() - 0s
[TRACE] 10:47:39.546 shell.go:Pwd() - 0s
[DEBUG] 10:47:39.546 shell_windows.go:58 → c:\private_<REDACTED>
[TRACE] 10:47:39.546 shell.go:GOOS() - 0s
[DEBUG] 10:47:39.546 segment.go:SetEnabled:529 → Segment: Node
[DEBUG] 10:47:39.546 properties.go:GetStringArray:52 → extensions: [*.js *.ts package.json .nvmrc pnpm-workspace.yaml .pnpmfile.cjs .vue]
[DEBUG] 10:47:39.546 properties.go:GetStringArray:52 → folders: []
[DEBUG] 10:47:39.546 properties.go:GetBool:22 → home_enabled: false
[TRACE] 10:47:39.546 shell.go:Pwd() - 0s
[DEBUG] 10:47:39.546 shell_windows.go:58 → c:\private_<REDACTED>
[DEBUG] 10:47:39.546 properties.go:GetString:28 → files
[DEBUG] 10:47:39.546 properties.go:GetBool:22 → fetch_package_manager: false
[TRACE] 10:47:39.546 shell.go:Pwd() - 0s
[TRACE] 10:47:39.546 shell.go:TemplateCache() - 0s
[DEBUG] 10:47:39.546 properties.go:GetBool:22 → always_enabled: true
[TRACE] 10:47:39.546 shell.go:TemplateCache() - 0s
[DEBUG] 10:47:39.546 shell.go:FileContent:467 Γåô
    [default]

[TRACE] 10:47:39.546 shell.go:FileContent(c:\private_<REDACTED>/.aws/config) - 526.9┬╡s
[DEBUG] 10:47:39.546 shell.go:HasFilesInDir:408 → false
[TRACE] 10:47:39.546 shell.go:HasFilesInDir(*.cs) - 526.9┬╡s
[DEBUG] 10:47:39.546 shell.go:HasFilesInDir:408 → false
[TRACE] 10:47:39.546 shell.go:HasFilesInDir(*.js) - 0s
[TRACE] 10:47:39.546 shell.go:Pwd() - 0s
[DEBUG] 10:47:39.546 shell.go:HasFilesInDir:408 → false
[TRACE] 10:47:39.546 shell.go:HasFilesInDir(*.csx) - 0s
[TRACE] 10:47:39.546 shell.go:Pwd() - 0s
[DEBUG] 10:47:39.546 shell.go:HasFilesInDir:408 → false
[TRACE] 10:47:39.546 shell.go:HasFilesInDir(*.ts) - 0s
[TRACE] 10:47:39.546 shell.go:Pwd() - 0s
[DEBUG] 10:47:39.546 shell.go:HasFilesInDir:408 → false
[TRACE] 10:47:39.546 shell.go:HasFilesInDir(*.vb) - 0s
[TRACE] 10:47:39.546 shell.go:Pwd() - 0s
[DEBUG] 10:47:39.546 shell.go:HasFilesInDir:408 → false
[TRACE] 10:47:39.546 shell.go:HasFilesInDir(*.sln) - 0s
[TRACE] 10:47:39.546 shell.go:Pwd() - 0s
[DEBUG] 10:47:39.547 shell.go:HasFilesInDir:408 → false
[TRACE] 10:47:39.547 shell.go:HasFilesInDir(*.slnf) - 525.8┬╡s
[TRACE] 10:47:39.547 shell.go:Pwd() - 0s
[DEBUG] 10:47:39.547 shell.go:HasFilesInDir:408 → false
[TRACE] 10:47:39.547 shell.go:HasFilesInDir(package.json) - 0s
[TRACE] 10:47:39.547 shell.go:Pwd() - 0s
[DEBUG] 10:47:39.547 shell.go:HasFilesInDir:408 → false
[TRACE] 10:47:39.547 shell.go:HasFilesInDir(.nvmrc) - 0s
[TRACE] 10:47:39.547 shell.go:Pwd() - 0s
[DEBUG] 10:47:39.547 shell.go:HasFilesInDir:408 → false
[TRACE] 10:47:39.547 shell.go:HasFilesInDir(pnpm-workspace.yaml) - 0s
[TRACE] 10:47:39.547 shell.go:Pwd() - 0s
[DEBUG] 10:47:39.547 shell.go:HasFilesInDir:408 → false
[TRACE] 10:47:39.547 shell.go:HasFilesInDir(.pnpmfile.cjs) - 0s
[TRACE] 10:47:39.547 shell.go:Pwd() - 0s
[DEBUG] 10:47:39.547 shell.go:HasFilesInDir:408 → false
[TRACE] 10:47:39.547 shell.go:HasFilesInDir(.vue) - 0s
[TRACE] 10:47:39.547 shell.go:Pwd() - 0s
[DEBUG] 10:47:39.547 shell.go:HasFilesInDir:408 → false
[TRACE] 10:47:39.547 shell.go:HasFilesInDir(*.csproj) - 0s
[TRACE] 10:47:39.547 shell.go:Pwd() - 0s
[DEBUG] 10:47:39.547 shell.go:HasFilesInDir:408 → false
[TRACE] 10:47:39.547 shell.go:HasFilesInDir(*.vbproj) - 0s
[TRACE] 10:47:39.547 shell.go:Pwd() - 0s
[DEBUG] 10:47:39.547 shell.go:HasFilesInDir:408 → false
[TRACE] 10:47:39.547 shell.go:HasFilesInDir(*.fs) - 0s
[TRACE] 10:47:39.547 shell.go:Pwd() - 0s
[DEBUG] 10:47:39.547 shell.go:HasFilesInDir:408 → false
[TRACE] 10:47:39.547 shell.go:HasFilesInDir(*.fsx) - 0s
[TRACE] 10:47:39.547 shell.go:Pwd() - 0s
[DEBUG] 10:47:39.547 shell.go:HasFilesInDir:408 → false
[TRACE] 10:47:39.547 shell.go:HasFilesInDir(*.fsproj) - 0s
[TRACE] 10:47:39.547 shell.go:Pwd() - 0s
[DEBUG] 10:47:39.547 shell.go:HasFilesInDir:408 → false
[TRACE] 10:47:39.547 shell.go:HasFilesInDir(global.json) - 0s
[DEBUG] 10:47:39.547 win32_windows.go:isWriteable:303 → current user is member of S-1-1-0
[DEBUG] 10:47:39.547 win32_windows.go:isWriteable:307 → ACCESS_DENIED_ACE_TYPE
[TRACE] 10:47:39.547 shell_windows.go:DirIsWritable() - 1.5679ms
[TRACE] 10:47:39.547 shell.go:TemplateCache() - 0s
[DEBUG] 10:47:39.555 shell.go:CommandPath:545 → C:\Program Files\Git\cmd\git.exe
[TRACE] 10:47:39.555 shell.go:CommandPath(git.exe) - 10.3962ms
[TRACE] 10:47:39.555 shell.go:HasCommand(git.exe) - 10.3962ms
[TRACE] 10:47:39.555 shell.go:Pwd() - 0s
[ERROR] 10:47:39.556 shell.go:HasParentFilePath:689 → CreateFile .git: The system cannot find the file specified.
[TRACE] 10:47:39.556 shell.go:HasParentFilePath(.git) - 627.9┬╡s
[DEBUG] 10:47:39.556 properties.go:GetBool:22 → fetch_bare_info: false
[DEBUG] 10:47:39.556 text.go:Render:70 → Rendering template:  {{ .String }} 
[DEBUG] 10:47:39.556 text.go:Render:70 → Rendering template: {{ if .WSL }} {{ "WSL"  }} {{ end }}
[DEBUG] 10:47:39.556 text.go:Render:70 → Rendering template:  {{ .Path }} 
[DEBUG] 10:47:39.557 text.go:Render:70 → Rendering template: {{ if ne .Shell "pwsh" }} {{ .Name  }} {{ end }}
[DEBUG] 10:47:39.557 text.go:Render:70 → Rendering template: ⌛{{ .FormattedMs }}⠀
[DEBUG] 10:47:39.557 text.go:Render:70 → Rendering template:  {{ if .SSHSession }} {{ end }}{{ .UserName }}@{{ .HostName }} 
[TRACE] 10:47:39.557 shell.go:TemplateCache() - 0s
[TRACE] 10:47:39.557 shell.go:TemplateCache() - 0s
[TRACE] 10:47:39.557 shell.go:Shell() - 0s
[TRACE] 10:47:39.557 shell.go:TemplateCache() - 0s
[TRACE] 10:47:39.557 shell.go:TemplateCache() - 0s
[TRACE] 10:47:39.557 shell.go:Shell() - 23.4┬╡s
[TRACE] 10:47:39.557 shell.go:TemplateCache() - 0s
[TRACE] 10:47:39.557 shell.go:Shell() - 0s
[TRACE] 10:47:39.557 shell.go:TemplateCache() - 0s
[TRACE] 10:47:39.557 shell.go:Shell() - 0s
[TRACE] 10:47:39.558 shell.go:TemplateCache() - 0s
[TRACE] 10:47:39.558 shell.go:Shell() - 0s
[TRACE] 10:47:39.558 shell.go:TemplateCache() - 0s
[TRACE] 10:47:39.558 shell.go:Shell() - 0s
[DEBUG] 10:47:39.558 text.go:Render:70 → Rendering template: diamond
[DEBUG] 10:47:39.558 text.go:Render:70 → Rendering template: powerline
[DEBUG] 10:47:39.558 text.go:Render:70 → Rendering template: powerline
[DEBUG] 10:47:39.558 text.go:Render:70 → Rendering template: powerline
[DEBUG] 10:47:39.558 text.go:Render:70 → Rendering template: powerline
[DEBUG] 10:47:39.558 text.go:Render:70 → Rendering template: powerline
[DEBUG] 10:47:39.558 text.go:Render:70 → Rendering template: powerline
[DEBUG] 10:47:39.558 text.go:Render:70 → Rendering template: powerline
[DEBUG] 10:47:39.558 text.go:Render:70 → Rendering template: powerline
[DEBUG] 10:47:39.558 text.go:Render:70 → Rendering template: powerline
[DEBUG] 10:47:39.558 text.go:Render:70 → Rendering template: {{ if (ne .Code 0) }}#f1184c{{ end }}
[TRACE] 10:47:39.558 shell.go:TemplateCache() - 0s
[DEBUG] 10:47:39.558 text.go:Render:70 → Rendering template: diamond
[TRACE] 10:47:39.558 shell.go:Shell() - 0s
[TRACE] 10:47:39.558 shell.go:Shell() - 0s
[TRACE] 10:47:39.558 shell.go:Shell() - 0s
[TRACE] 10:47:39.558 shell.go:Flags() - 0s
[TRACE] 10:47:39.558 shell.go:Pwd() - 0s
[TRACE] 10:47:39.558 shell.go:Flags() - 0s
[DEBUG] 10:47:39.558 properties.go:GetString:28 → 15:04:05
[TRACE] 10:47:39.558 shell.go:TemplateCache() - 0s
[TRACE] 10:47:39.558 shell.go:Pwd() - 0s
[DEBUG] 10:47:39.558 shell_windows.go:58 → c:\private_<REDACTED>
[TRACE] 10:47:39.558 shell.go:GOOS() - 0s
[DEBUG] 10:47:39.558 segment.go:SetEnabled:529 → Segment: Battery
[TRACE] 10:47:39.558 shell_windows.go:IsWsl() - 0s
[TRACE] 10:47:39.568 shell_windows_nix.go:BatteryState() - 9.7851ms
[DEBUG] 10:47:39.568 properties.go:GetString:28 →  
[TRACE] 10:47:39.568 shell.go:TemplateCache() - 0s
[DEBUG] 10:47:39.568 text.go:Render:70 → Rendering template: <background,parentBackground>{{ if .Segments.Contains "Battery" }}{{ else }}{{ end }}</> {{ .CurrentDate | date .Format }} <background,transparent></>
[DEBUG] 10:47:39.568 text.go:Render:70 → Rendering template:  {{ if not .Error }}{{ .Icon }}{{ .Percentage }}{{ end }}{{ .Error }} 
[TRACE] 10:47:39.568 shell.go:TemplateCache() - 0s
[TRACE] 10:47:39.568 shell.go:TemplateCache() - 0s
[TRACE] 10:47:39.568 shell.go:Shell() - 0s
[TRACE] 10:47:39.568 shell.go:Shell() - 0s
[DEBUG] 10:47:39.568 text.go:Render:70 → Rendering template: {{if eq "Charging" .State.String}}#40c4ff{{end}}
[TRACE] 10:47:39.568 shell.go:TemplateCache() - 0s
[DEBUG] 10:47:39.568 text.go:Render:70 → Rendering template: {{if eq "Discharging" .State.String}}#ff5722{{end}}
[TRACE] 10:47:39.568 shell.go:TemplateCache() - 0s
[DEBUG] 10:47:39.568 text.go:Render:70 → Rendering template: {{if eq "Full" .State.String}}#4caf50{{end}}
[TRACE] 10:47:39.568 shell.go:TemplateCache() - 0s
[DEBUG] 10:47:39.568 text.go:Render:70 → Rendering template: diamond
[DEBUG] 10:47:39.568 text.go:Render:70 → Rendering template: plain
[TRACE] 10:47:39.568 shell.go:Shell() - 0s
[TRACE] 10:47:39.568 shell.go:Flags() - 0s
[TRACE] 10:47:39.568 shell.go:Shell() - 0s
[TRACE] 10:47:39.568 shell.go:Shell() - 0s
[DEBUG] 10:47:39.568 shell_windows.go:TerminalWidth:111 → terminal width: 159
[TRACE] 10:47:39.568 shell_windows.go:TerminalWidth() - 0s
[DEBUG] 10:47:39.568 shell.go:Getenv:325 → C:\Users\<REDACTED>\AppData\Local
[TRACE] 10:47:39.568 shell.go:Getenv(LOCALAPPDATA) - 0s
[TRACE] 10:47:39.568 shell_windows.go:CachePath() - 0s
[TRACE] 10:47:39.568 shell.go:Flags() - 0s
JanDeDobbeleer commented 5 months ago

This is a terminal bug. There's an issue on their end about this.

sba923 commented 5 months ago

This is a terminal bug. There's an issue on their end about this.

OK; do you have the issue #?

JanDeDobbeleer commented 5 months ago

https://github.com/microsoft/terminal/issues/16077

github-actions[bot] commented 2 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.