JanDeDobbeleer / oh-my-posh

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

v18.2.5 prompt is smaller, not based on window width #4136

Closed rescenic closed 1 year ago

rescenic commented 1 year ago

Code of Conduct

What happened?

A bug happened! v18.2.5 prompt is smaller, not based on window width. I am using Windows Terminal & Powershell still the same. Reverted back to v18.2.4 and it's okay.

Theme

1_shell.omp.json

What OS are you seeing the problem on?

Windows

Which shell are you using?

powershell

Log output

scoop install oh-my-posh@18.2.4
WARN  Given version (18.2.4) does not match manifest (18.2.5)
WARN  Attempting to generate manifest for 'oh-my-posh' (18.2.4)
Autoupdating oh-my-posh
Searching hash for themes.zip in https://github.com/JanDeDobbeleer/oh-my-posh/releases/download/v18.2.4/themes.zip.sha256
Found: 1a69e977757bc83be9b1263ae4c00f13145a6c1c1298ccba16ca0f22942d943e using Extract Mode
Searching hash for posh-windows-386.exe in https://github.com/JanDeDobbeleer/oh-my-posh/releases/download/v18.2.4/posh-windows-386.exe.sha256
Found: f480e3745fc0a57bfa4e75b152eb90bd7c8dcc13bb47cfc268d32d6b84bec96a using Extract Mode
Searching hash for themes.zip in https://github.com/JanDeDobbeleer/oh-my-posh/releases/download/v18.2.4/themes.zip.sha256
Found: 1a69e977757bc83be9b1263ae4c00f13145a6c1c1298ccba16ca0f22942d943e using Extract Mode
Searching hash for posh-windows-amd64.exe in https://github.com/JanDeDobbeleer/oh-my-posh/releases/download/v18.2.4/posh-windows-amd64.exe.sha256
Found: 75e4ede00b99e7b21f6ee39740610610ac3cd4b7d4c4affcde52c7a0db4a6ad7 using Extract Mode
Searching hash for themes.zip in https://github.com/JanDeDobbeleer/oh-my-posh/releases/download/v18.2.4/themes.zip.sha256
Found: 1a69e977757bc83be9b1263ae4c00f13145a6c1c1298ccba16ca0f22942d943e using Extract Mode
Searching hash for posh-windows-arm64.exe in https://github.com/JanDeDobbeleer/oh-my-posh/releases/download/v18.2.4/posh-windows-arm64.exe.sha256
Found: 07352c2473b179b231050407c4fe382838aef0632afceb7a6d7abcac4bb6c242 using Extract Mode
Writing updated oh-my-posh manifest
====
[DEBUG] 18:30:27.109 shell.go:Getenv:388 → NO DATA
[TRACE] 18:30:27.109 shell.go:Getenv(TERM_PROGRAM) - 0s
[DEBUG] 18:30:27.109 shell.go:Getenv:388 → C:\Users\Rescenic\AppData\Local
[TRACE] 18:30:27.109 shell.go:Getenv(LOCALAPPDATA) - 0s
[TRACE] 18:30:27.109 shell_windows.go:CachePath() - 0s
[DEBUG] 18:30:27.110 shell.go:Getenv:388 → C:\Users\Rescenic\scoop\apps\oh-my-posh\current\themes\1_shell.omp.json
[TRACE] 18:30:27.110 shell.go:Getenv(POSH_THEME) - 0s
[DEBUG] 18:30:27.110 shell.go:Shell:628 → no shell name provided in flags, trying to detect it
[DEBUG] 18:30:27.124 shell.go:Shell:636 → process name: oh-my-posh.exe
[TRACE] 18:30:27.124 shell.go:Shell() - 14.899ms
[TRACE] 18:30:27.124 shell.go:resolveConfigPath() - 14.899ms
[TRACE] 18:30:27.124 shell.go:Init() - 15.9029ms
[TRACE] 18:30:27.124 shell.go:Flags() - 0s
[TRACE] 18:30:27.126 config.go:loadConfig() - 1.632ms
[TRACE] 18:30:27.126 shell.go:Flags() - 0s
[DEBUG] 18:30:27.126 shell.go:Getenv:388 → NO DATA
[TRACE] 18:30:27.126 shell.go:Getenv(OMP_CACHE_DISABLED) - 0s
[TRACE] 18:30:27.126 shell_windows.go:WindowsRegistryKeyValue(HKEY_CURRENT_USER\Software\Microsoft\Windows\DWM\ColorizationColor) - 0s
[TRACE] 18:30:27.126 shell.go:GOOS() - 0s
[TRACE] 18:30:27.126 shell.go:GOOS() - 0s
[TRACE] 18:30:27.126 shell.go:GOOS() - 0s
[TRACE] 18:30:27.126 shell.go:GOOS() - 0s
[TRACE] 18:30:27.126 shell.go:GOOS() - 0s
[TRACE] 18:30:27.126 shell.go:GOOS() - 0s
[TRACE] 18:30:27.126 shell.go:GOOS() - 0s
[TRACE] 18:30:27.126 shell.go:GOOS() - 0s
[TRACE] 18:30:27.126 shell.go:GOOS() - 0s
[TRACE] 18:30:27.126 shell.go:GOOS() - 0s
[TRACE] 18:30:27.126 shell.go:GOOS() - 0s
[TRACE] 18:30:27.126 shell.go:GOOS() - 0s
[TRACE] 18:30:27.126 shell.go:GOOS() - 0s
[TRACE] 18:30:27.126 shell.go:GOOS() - 0s
[TRACE] 18:30:27.126 shell.go:GOOS() - 0s
[TRACE] 18:30:27.126 shell.go:GOOS() - 0s
[TRACE] 18:30:27.126 shell.go:GOOS() - 0s
[TRACE] 18:30:27.126 shell.go:GOOS() - 0s
[TRACE] 18:30:27.126 shell.go:GOOS() - 0s
[DEBUG] 18:30:27.126 shell_windows.go:WindowsRegistryKeyValue:215 → ColorizationColor(DWORD): 0xC44C4A48
[TRACE] 18:30:27.126 shell.go:Shell() - 0s
[DEBUG] 18:30:27.126 shell.go:Getenv:388 → 7.3.6
[TRACE] 18:30:27.126 shell.go:Getenv(POSH_SHELL_VERSION) - 0s
[DEBUG] 18:30:27.126 debug.go:PrintDebug:23 → Segment: Title
[TRACE] 18:30:27.127 shell_windows.go:Root() - 0s
[TRACE] 18:30:27.127 shell.go:Shell() - 0s
[TRACE] 18:30:27.127 shell.go:StatusCodes() - 0s
[TRACE] 18:30:27.127 shell_windows.go:IsWsl() - 0s
[DEBUG] 18:30:27.127 shell.go:TemplateCache:806 → environment: [ALLUSERSPROFILE=C:\ProgramData APPDATA=C:\Users\Rescenic\AppData\Roaming CommonProgramFiles=C:\Program Files\Common Files CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files CommonProgramW6432=C:\Program Files\Common Files COMPOSER_HOME=C:\Users\Rescenic\scoop\persist\composer\home COMPUTERNAME=RAZELNIC ComSpec=C:\Windows\system32\cmd.exe CONDA_PROMPT_MODIFIER=False DriverData=C:\Windows\System32\Drivers\DriverData ESET_OPTIONS=

                                                                              GIT_INSTALL_ROOT=C:\Users\Rescenic\scoop\apps\git\current HOMEDRIVE=C: HOMEPATH=\Users\Rescenic JAVA_HOME=C:\Users\Rescenic\scoop\apps\intellij-jbr17-sdk-jcef\current LOCALAPPDATA=C:\Users\Rescenic\AppData\Local LOGONSERVER=\\RAZELNIC MAGICK_CODER_MODULE_PATH=C:\Users\Rescenic\scoop\apps\imagemagick\current\modules\coders MAGICK_CONFIGURE_PATH=C:\Users\Rescenic\scoop\apps\imagemagick\current MAGICK_HOME=C:\Users\Rescenic\scoop\apps\imagemagick\current NUMBER_OF_PROCESSORS=8 NVM_HOME=C:\Users\Rescenic\AppData\Roaming\nvm NVM_SYMLINK=C:\Program Files\nodejs OneDrive=C:\Users\Rescenic\OneDriva\OneDrive - razelnic OneDriveCommercial=C:\Users\Rescenic\OneDriva\OneDrive - razelnic OneDriveConsumer=C:\Users\Rescenic\OneDrive OPENSSL_CONF=C:\Users\Rescenic\scoop\apps\openssl\current\bin\cnf\openssl.cnf OPENSSL_INCLUDE_DIR=C:\Users\Rescenic\scoop\apps\openssl\current\include OPENSSL_LIB_DIR=C:\Users\Rescenic\scoop\apps\openssl\current\lib OPENSSL_MODULES=C:\Users\Rescenic\scoop\apps\openssl\current\bin OS=Windows_NT Path=C:\Program Files\PowerShell\7;C:\Windows\System32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\OpenSSH;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Users\Rescenic\AppData\Roaming\nvm;C:\Program Files\nodejs;C:\flutter\bin;C:\Program Files\TortoiseGit\bin;C:\Program Files (x86)\Bitvise SSH Client;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\Program Files (x86)\Google\Cloud SDK\google-cloud-sdk\bin;C:\Program Files\dotnet\;C:\Program Files\Microsoft\jdk-11.0.16.101-hotspot\bin;C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\170\Tools\Binn\;C:\Program Files\Microsoft SQL Server\150\Tools\Binn\;C:\Program Files\Microsoft VS Code\bin;C:\Program Files\Microsoft VS Code Insiders\bin;C:\Program Files\PowerShell\7-preview\preview;C:\Program Files\WireGuard\;C:\Program Files\PowerShell\7\;C:\Users\Rescenic\scoop\apps\imagemagick\current;C:\Users\Rescenic\scoop\apps\intellij-jbr17-sdk-jcef\current\bin;C:\Users\Rescenic\scoop\apps\intellij-jbr11-sdk-jcef\current\bin;C:\Users\Rescenic\scoop\apps\openssl\current\bin;C:\Users\Rescenic\scoop\apps\python\current\Scripts;C:\Users\Rescenic\scoop\apps\python\current;C:\Users\Rescenic\scoop\apps\gpg4win\current\GnuPG\bin;C:\Users\Rescenic\scoop\apps\gpg4win\current\Gpg4win\bin;C:\Users\Rescenic\scoop\apps\composer\current\home\vendor\bin;C:\Users\Rescenic\scoop\shims;C:\Users\Rescenic\.bin;C:\Users\Rescenic\.dotnet\tools;C:\Users\Rescenic\AppData\Local\Microsoft\WindowsApps;C:\Users\Rescenic\AppData\Local\JetBrains\Toolbox\scripts;C:\Users\Rescenic\AppData\Local\Box\Box Edit\;C:\Users\Rescenic\AppData\Local\Programs\EmEditor;C:\Users\Rescenic\laragon\bin\php\php-7.4.33-Win32-VC15-x64-TS PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC;.CPL POSH_AZURE_ENABLED=False POSH_CURSOR_COLUMN=1 POSH_CURSOR_LINE=42 POSH_GIT_ENABLED=False POSH_PID=7052 POSH_SHELL_VERSION=7.3.6 POSH_THEME=C:\Users\Rescenic\scoop\apps\oh-my-posh\current\themes\1_shell.omp.json POSH_THEMES_PATH=C:\Users\Rescenic\scoop\apps\oh-my-posh\current\themes POWERLINE_COMMAND=oh-my-posh POWERSHELL_DISTRIBUTION_CHANNEL=MSI:Windows 10 Pro for Workstations PROCESSOR_ARCHITECTURE=AMD64 PROCESSOR_IDENTIFIER=AMD64 Family 23 Model 17 Stepping 0, AuthenticAMD PROCESSOR_LEVEL=23 PROCESSOR_REVISION=1100 ProgramData=C:\ProgramData ProgramFiles=C:\Program Files ProgramFiles(x86)=C:\Program Files (x86) ProgramW6432=C:\Program Files PSModulePath=C:\Users\Rescenic\Documents\PowerShell\Modules;C:\Program Files\PowerShell\Modules;c:\program files\powershell\7\Modules;C:\Users\Rescenic\scoop\modules;C:\Users\Rescenic\Documents\WindowsPowerShell\Modules;C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules;C:\Program Files (x86)\Google\Cloud SDK\google-cloud-sdk\platform\PowerShell PUBLIC=C:\Users\Public SystemDrive=C: SystemRoot=C:\Windows TEMP=C:\Users\Rescenic\AppData\Local\Temp TMP=C:\Users\Rescenic\AppData\Local\Temp USERDOMAIN=RAZELNIC USERDOMAIN_ROAMINGPROFILE=RAZELNIC USERNAME=Rescenic USERPROFILE=C:\Users\Rescenic windir=C:\Windows WSLENV=WT_SESSION::WT_PROFILE_ID WT_PROFILE_ID={574e775e-4f2a-5b96-ac1e-a2962a402336} WT_SESSION=8ae0a7f4-82fa-47be-a8d5-4825a809d582]
[TRACE] 18:30:27.127 shell.go:GOOS() - 0s
[DEBUG] 18:30:27.127 shell.go:Pwd:418 → C:\Users\Rescenic
[TRACE] 18:30:27.127 shell.go:Pwd() - 0s
[DEBUG] 18:30:27.127 shell_windows.go:56 → C:\Users\Rescenic
[TRACE] 18:30:27.127 shell.go:GOOS() - 0s
[TRACE] 18:30:27.127 shell.go:GOOS() - 0s
[TRACE] 18:30:27.127 shell.go:GOOS() - 0s
[TRACE] 18:30:27.127 shell.go:GOOS() - 0s
[TRACE] 18:30:27.127 shell.go:GOOS() - 0s
[TRACE] 18:30:27.127 shell.go:GOOS() - 0s
[TRACE] 18:30:27.127 shell.go:GOOS() - 0s
[TRACE] 18:30:27.127 shell.go:GOOS() - 0s
[TRACE] 18:30:27.127 shell.go:GOOS() - 0s
[TRACE] 18:30:27.127 shell.go:GOOS() - 0s
[TRACE] 18:30:27.127 shell.go:GOOS() - 0s
[DEBUG] 18:30:27.127 shell.go:User:539 → Rescenic
[TRACE] 18:30:27.127 shell.go:User() - 0s
[DEBUG] 18:30:27.127 shell.go:Host:551 → RAZELNIC
[TRACE] 18:30:27.127 shell.go:Host() - 46.1µs
[TRACE] 18:30:27.127 shell.go:GOOS() - 0s
[DEBUG] 18:30:27.127 shell.go:Getenv:388 → NO DATA
[TRACE] 18:30:27.127 shell.go:Getenv(SHLVL) - 0s
[TRACE] 18:30:27.127 shell.go:TemplateCache() - 567.3µs
[TRACE] 18:30:27.127 shell.go:Flags() - 0s
[DEBUG] 18:30:27.127 block.go:Debug:280 → Segment: session
[TRACE] 18:30:27.127 shell.go:Pwd() - 0s
[DEBUG] 18:30:27.127 shell_windows.go:56 → C:\Users\Rescenic
[TRACE] 18:30:27.127 shell.go:GOOS() - 0s
[DEBUG] 18:30:27.127 shell.go:Getenv:388 → NO DATA
[TRACE] 18:30:27.127 shell.go:Getenv(SSH_CONNECTION) - 0s
[DEBUG] 18:30:27.127 shell.go:Getenv:388 → NO DATA
[TRACE] 18:30:27.127 shell.go:Getenv(SSH_CLIENT) - 0s
[TRACE] 18:30:27.127 shell.go:TemplateCache() - 0s
[TRACE] 18:30:27.128 shell.go:TemplateCache() - 0s
[TRACE] 18:30:27.128 shell.go:Shell() - 0s
[DEBUG] 18:30:27.129 block.go:Debug:280 → Segment: time
[TRACE] 18:30:27.129 shell.go:Pwd() - 0s
[DEBUG] 18:30:27.129 shell_windows.go:56 → C:\Users\Rescenic
[TRACE] 18:30:27.129 shell.go:GOOS() - 0s
[DEBUG] 18:30:27.129 properties.go:GetString:28 → Monday <#ffffff>at</> 3:04 PM
[TRACE] 18:30:27.129 shell.go:TemplateCache() - 0s
[TRACE] 18:30:27.129 shell.go:TemplateCache() - 0s
[TRACE] 18:30:27.129 shell.go:Shell() - 0s
[DEBUG] 18:30:27.129 block.go:Debug:280 → Segment: git
[TRACE] 18:30:27.129 shell.go:Pwd() - 0s
[DEBUG] 18:30:27.129 shell_windows.go:56 → C:\Users\Rescenic
[TRACE] 18:30:27.129 shell.go:GOOS() - 0s
[TRACE] 18:30:27.130 shell.go:GOOS() - 0s
[DEBUG] 18:30:27.171 shell.go:CommandPath:590 → C:\Users\Rescenic\scoop\shims\git.exe
[TRACE] 18:30:27.171 shell.go:CommandPath(git.exe) - 40.7419ms
[TRACE] 18:30:27.171 shell.go:HasCommand(git.exe) - 40.7419ms
[TRACE] 18:30:27.171 shell.go:Pwd() - 0s
[ERROR] 18:30:27.171 shell.go:HasParentFilePath:724 → CreateFile .git: The system cannot find the file specified.
[TRACE] 18:30:27.172 shell.go:HasParentFilePath(.git) - 1.0399ms
[DEBUG] 18:30:27.172 properties.go:GetBool:22 → fetch_bare_info: false
[TRACE] 18:30:27.172 shell.go:Flags() - 0s
[DEBUG] 18:30:27.172 block.go:Debug:280 → Segment: text
[TRACE] 18:30:27.172 shell.go:Pwd() - 0s
[DEBUG] 18:30:27.172 shell_windows.go:56 → C:\Users\Rescenic
[TRACE] 18:30:27.172 shell.go:GOOS() - 0s
[TRACE] 18:30:27.172 shell.go:TemplateCache() - 0s
[TRACE] 18:30:27.172 shell.go:TemplateCache() - 0s
[TRACE] 18:30:27.172 shell.go:Shell() - 0s
[DEBUG] 18:30:27.172 block.go:Debug:280 → Segment: executiontime
[TRACE] 18:30:27.172 shell.go:Pwd() - 0s
[DEBUG] 18:30:27.172 shell_windows.go:56 → C:\Users\Rescenic
[TRACE] 18:30:27.172 shell.go:GOOS() - 0s
[DEBUG] 18:30:27.172 properties.go:GetBool:22 → always_enabled: false
[TRACE] 18:30:27.172 shell.go:ExecutionTime() - 0s
[DEBUG] 18:30:27.172 properties.go:GetFloat64:34 → threshold: 0.000000
[DEBUG] 18:30:27.172 properties.go:GetString:28 → dallas
[TRACE] 18:30:27.172 shell.go:TemplateCache() - 0s
[TRACE] 18:30:27.172 shell.go:TemplateCache() - 0s
[TRACE] 18:30:27.172 shell.go:Shell() - 0s
[DEBUG] 18:30:27.172 block.go:Debug:280 → Segment: root
[TRACE] 18:30:27.172 shell.go:Pwd() - 0s
[DEBUG] 18:30:27.172 shell_windows.go:56 → C:\Users\Rescenic
[TRACE] 18:30:27.172 shell.go:GOOS() - 0s
[TRACE] 18:30:27.172 shell_windows.go:Root() - 0s
[DEBUG] 18:30:27.172 block.go:Debug:280 → Segment: sysinfo
[DEBUG] 18:30:27.172 properties.go:GetInt:40 → precision: 2
[TRACE] 18:30:27.172 shell.go:Pwd() - 0s
[DEBUG] 18:30:27.172 shell_windows.go:56 → C:\Users\Rescenic
[TRACE] 18:30:27.172 shell.go:GOOS() - 0s
[TRACE] 18:30:27.172 shell.go:TemplateCache() - 0s
[TRACE] 18:30:27.173 shell.go:TemplateCache() - 0s
[TRACE] 18:30:27.173 shell.go:Shell() - 0s
[DEBUG] 18:30:27.173 block.go:Debug:280 → Segment: sysinfo
[DEBUG] 18:30:27.173 properties.go:GetInt:40 → precision: 2
[TRACE] 18:30:27.173 shell.go:Pwd() - 0s
[DEBUG] 18:30:27.173 shell_windows.go:56 → C:\Users\Rescenic
[TRACE] 18:30:27.173 shell.go:GOOS() - 0s
[TRACE] 18:30:27.173 shell.go:TemplateCache() - 0s
[TRACE] 18:30:27.173 shell.go:TemplateCache() - 0s
[TRACE] 18:30:27.173 shell.go:Shell() - 0s
[TRACE] 18:30:27.173 shell.go:Flags() - 0s
[DEBUG] 18:30:27.173 block.go:Debug:280 → Segment: path
[TRACE] 18:30:27.173 shell.go:Pwd() - 0s
[DEBUG] 18:30:27.173 shell_windows.go:56 → C:\Users\Rescenic
[TRACE] 18:30:27.173 shell.go:GOOS() - 0s
[TRACE] 18:30:27.173 shell.go:Pwd() - 0s
[TRACE] 18:30:27.173 shell.go:Shell() - 0s
[TRACE] 18:30:27.173 shell.go:Shell() - 0s
[DEBUG] 18:30:27.173 properties.go:GetBool:22 → mapped_locations_enabled: true
[DEBUG] 18:30:27.173 properties.go:GetString:28 → 
[DEBUG] 18:30:27.173 properties.go:GetString:28 → 
[DEBUG] 18:30:27.173 shell_windows.go:56 → C:\Users\Rescenic
[TRACE] 18:30:27.173 shell.go:GOOS() - 0s
[TRACE] 18:30:27.173 shell.go:GOOS() - 0s
[DEBUG] 18:30:27.173 properties.go:GetString:28 → home
[DEBUG] 18:30:27.173 properties.go:GetKeyValueMap:46 → mapped_locations: map[]
[TRACE] 18:30:27.173 shell.go:PathSeparator() - 0s
[TRACE] 18:30:27.173 shell.go:GOOS() - 0s
[TRACE] 18:30:27.173 shell.go:GOOS() - 0s
[TRACE] 18:30:27.173 shell.go:GOOS() - 0s
[TRACE] 18:30:27.173 shell.go:GOOS() - 0s
[TRACE] 18:30:27.173 shell.go:GOOS() - 0s
[TRACE] 18:30:27.173 shell.go:GOOS() - 0s
[TRACE] 18:30:27.173 shell.go:GOOS() - 0s
[TRACE] 18:30:27.173 shell.go:PathSeparator() - 0s
[TRACE] 18:30:27.173 shell.go:PathSeparator() - 0s
[TRACE] 18:30:27.173 shell.go:GOOS() - 0s
[TRACE] 18:30:27.173 shell.go:GOOS() - 0s
[TRACE] 18:30:27.173 shell.go:GOOS() - 0s
[TRACE] 18:30:27.173 shell.go:PathSeparator() - 0s
[TRACE] 18:30:27.173 shell.go:GOOS() - 0s
[TRACE] 18:30:27.173 shell.go:GOOS() - 0s
[TRACE] 18:30:27.173 shell.go:GOOS() - 0s
[TRACE] 18:30:27.173 shell.go:PathSeparator() - 0s
[TRACE] 18:30:27.173 shell.go:GOOS() - 0s
[TRACE] 18:30:27.174 shell.go:GOOS() - 0s
[TRACE] 18:30:27.174 shell.go:GOOS() - 0s
[TRACE] 18:30:27.174 shell.go:PathSeparator() - 0s
[TRACE] 18:30:27.174 shell.go:Pwd() - 0s
[TRACE] 18:30:27.174 shell_windows.go:IsWsl() - 0s
[TRACE] 18:30:27.174 shell.go:StackCount() - 0s
[DEBUG] 18:30:27.174 win32_windows.go:isWriteable:299 → not current user or in group
[DEBUG] 18:30:27.174 win32_windows.go:isWriteable:303 → current user is member of S-1-5-32-544
[DEBUG] 18:30:27.174 win32_windows.go:isWriteable:311 ↓
    WRITE_DAC
    WRITE_OWNER
    SYNCHRONIZE
    DELETE
    READ_CONTROL
[DEBUG] 18:30:27.174 win32_windows.go:isWriteable:313 → user has write access
[TRACE] 18:30:27.174 shell_windows.go:DirIsWritable() - 548.8µs
[TRACE] 18:30:27.174 shell.go:TemplateCache() - 0s
[TRACE] 18:30:27.175 shell.go:TemplateCache() - 0s
[TRACE] 18:30:27.175 shell.go:Shell() - 0s
[DEBUG] 18:30:27.175 block.go:Debug:280 → Segment: status
[DEBUG] 18:30:27.175 properties.go:GetString:28 → {{ .Code }}
[TRACE] 18:30:27.175 shell.go:Pwd() - 0s
[DEBUG] 18:30:27.175 shell_windows.go:56 → C:\Users\Rescenic
[TRACE] 18:30:27.175 shell.go:GOOS() - 0s
[TRACE] 18:30:27.175 shell.go:StatusCodes() - 0s
[TRACE] 18:30:27.175 shell.go:TemplateCache() - 0s
[DEBUG] 18:30:27.175 properties.go:GetBool:22 → always_enabled: true
[TRACE] 18:30:27.175 shell.go:TemplateCache() - 0s
[TRACE] 18:30:27.175 shell.go:Shell() - 0s
[TRACE] 18:30:27.175 shell.go:TemplateCache() - 0s
[DEBUG] 18:30:27.175 shell.go:Getenv:388 → C:\Users\Rescenic\AppData\Local
[TRACE] 18:30:27.175 shell.go:Getenv(LOCALAPPDATA) - 0s
[TRACE] 18:30:27.175 shell_windows.go:CachePath() - 0s
[TRACE] 18:30:27.175 shell.go:Flags() - 0s
JanDeDobbeleer commented 1 year ago

@rescenic I'll need a screenshot for this one. We refactored the alignment to use spaces and it needs the terminal width. So either that context is incorrect, or something else is off.

JanDeDobbeleer commented 1 year ago

@rescenic you're not in latest BTW: Given version (18.2.4) does not match manifest (18.2.5)

lewis-yeung commented 1 year ago

@JanDeDobbeleer See this.

https://github.com/JanDeDobbeleer/oh-my-posh/blob/744b1f042c59a550ebfe3978d467b47f8351b238/src/engine/engine.go#L247-L252

It should be space instead of space-length in Line 251, right?

EDITED: Tested, that is where the bug comes from.

JanDeDobbeleer commented 1 year ago

@lewis-yeung you are absolutely right. I'm an idiot.

JanDeDobbeleer commented 1 year ago

Solved

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