JanDeDobbeleer / oh-my-posh

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

Removing trailing space from upstream icons, introduced in 19.17.2, cuts off half the icon. #4784

Closed jaygreina closed 8 months ago

jaygreina commented 8 months ago

Code of Conduct

What happened?

When installing v19.17.2, all my upstream icons are cut in half. I tried with several different default themes and Nerd fonts and each one renders the same. Fonts I used are CaskaydiaCove and FiraCode, each one only showing half the icon (Github and Bitbucket).

DOESN'T WORK: v19.17.2 and above (icon cut in half): image image image image

WORKS: v19.17.1 and below (full icon) image image

Theme

No theme (the default), but I also tried a handful from themes page, and they all render incorrectly.

What OS are you seeing the problem on?

Windows

Which shell are you using?

powershell

Log output

Version: 19.17.2

Shell: oh-my-posh (7.4.1)

Prompt:

 Jay   Server   questpdf-linux ≡   

Segments:

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

Run duration: 128.5564ms

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

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

Logs:

[DEBUG] 20:46:09.524 shell.go:Getenv:325 → NO DATA
[TRACE] 20:46:09.524 shell.go:Getenv(TERM_PROGRAM) - 597.6µs
[DEBUG] 20:46:09.524 shell.go:Getenv:325 → C:\Users\Jay\AppData\Local
[TRACE] 20:46:09.524 shell.go:Getenv(LOCALAPPDATA) - 0s
[TRACE] 20:46:09.525 shell_windows.go:CachePath() - 505.9µs
[DEBUG] 20:46:09.526 shell.go:Getenv:325 → NO DATA
[TRACE] 20:46:09.526 shell.go:Getenv(POSH_THEME) - 0s
[DEBUG] 20:46:09.526 shell.go:resolveConfigPath:245 → No config set, fallback to default config
[TRACE] 20:46:09.526 shell.go:resolveConfigPath() - 0s
[TRACE] 20:46:09.526 shell.go:Init() - 1.824ms
[TRACE] 20:46:09.526 shell.go:Flags() - 0s
[DEBUG] 20:46:09.526 config.go:loadConfig:126 → no config file specified, using default
[TRACE] 20:46:09.526 config.go:loadConfig() - 0s
[TRACE] 20:46:09.526 shell.go:Flags() - 0s
[DEBUG] 20:46:09.526 shell.go:Getenv:325 → NO DATA
[TRACE] 20:46:09.526 shell.go:Getenv(OMP_CACHE_DISABLED) - 0s
[TRACE] 20:46:09.526 shell_windows.go:WindowsRegistryKeyValue(HKEY_CURRENT_USER\Software\Microsoft\Windows\DWM\ColorizationColor) - 0s
[TRACE] 20:46:09.526 shell.go:GOOS() - 0s
[TRACE] 20:46:09.526 shell.go:GOOS() - 0s
[TRACE] 20:46:09.526 shell.go:GOOS() - 0s
[TRACE] 20:46:09.526 shell.go:GOOS() - 0s
[TRACE] 20:46:09.526 shell.go:GOOS() - 0s
[TRACE] 20:46:09.526 shell.go:GOOS() - 0s
[TRACE] 20:46:09.526 shell.go:GOOS() - 0s
[TRACE] 20:46:09.526 shell.go:GOOS() - 0s
[TRACE] 20:46:09.526 shell.go:GOOS() - 0s
[TRACE] 20:46:09.526 shell.go:GOOS() - 0s
[TRACE] 20:46:09.526 shell.go:GOOS() - 0s
[TRACE] 20:46:09.526 shell.go:GOOS() - 0s
[TRACE] 20:46:09.526 shell.go:GOOS() - 0s
[TRACE] 20:46:09.526 shell.go:GOOS() - 0s
[TRACE] 20:46:09.526 shell.go:GOOS() - 0s
[TRACE] 20:46:09.526 shell.go:GOOS() - 0s
[TRACE] 20:46:09.526 shell.go:GOOS() - 0s
[TRACE] 20:46:09.526 shell.go:GOOS() - 0s
[TRACE] 20:46:09.526 shell.go:GOOS() - 0s
[DEBUG] 20:46:09.526 shell_windows.go:WindowsRegistryKeyValue:217 → ColorizationColor(DWORD): 0xC40078D7
[DEBUG] 20:46:09.526 shell.go:Shell:593 → no shell name provided in flags, trying to detect it
[DEBUG] 20:46:09.538 shell.go:Shell:601 → process name: oh-my-posh.exe
[TRACE] 20:46:09.538 shell.go:Shell() - 12.8537ms
[DEBUG] 20:46:09.538 shell.go:Getenv:325 → 7.4.1
[TRACE] 20:46:09.538 shell.go:Getenv(POSH_SHELL_VERSION) - 0s
[DEBUG] 20:46:09.538 debug.go:PrintDebug:22 → Segment: Title
[DEBUG] 20:46:09.539 text.go:Render:70 → Rendering template: {{ .Shell }} in {{ .Folder }}
[TRACE] 20:46:09.540 shell_windows.go:Root() - 119.9µs
[TRACE] 20:46:09.540 shell.go:Shell() - 0s
[TRACE] 20:46:09.540 shell.go:StatusCodes() - 0s
[TRACE] 20:46:09.540 shell_windows.go:IsWsl() - 0s
[DEBUG] 20:46:09.540 shell.go:TemplateCache:774 → environment: [ALLUSERSPROFILE=C:\ProgramData APPDATA=C:\Users\Jay\AppData\Roaming CommonProgramFiles=C:\Program Files\Common Files CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files CommonProgramW6432=C:\Program Files\Common Files COMPUTERNAME=ORION ComSpec=C:\WINDOWS\system32\cmd.exe CONDA_PROMPT_MODIFIER=False configsetroot=C:\WINDOWS\ConfigSetRoot DOTNET_CLI_TELEMETRY_OPTOUT=true DOTNET_WATCH_RESTART_ON_RUDE_EDIT=true DriverData=C:\Windows\System32\Drivers\DriverData DropboxProfile=C:\Users\Jay\Dropbox GIT_INSTALL_ROOT=C:\Users\Jay\scoop\apps\git\current HOMEDRIVE=C: HOMEPATH=\Users\Jay LOCALAPPDATA=C:\Users\Jay\AppData\Local LOGONSERVER=\\ORION NUMBER_OF_PROCESSORS=8 OneDrive=C:\Users\Jay\OneDrive OneDriveConsumer=C:\Users\Jay\OneDrive OS=Windows_NT Path=C:\Program Files\PowerShell\7;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\iCLS\;C:\Program Files\Intel\Intel(R) Management Engine Components\iCLS\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files\Intel\WiFi\bin\;C:\Program Files\Common Files\Intel\WirelessCommon\;C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\170\Tools\Binn\;C:\Program Files\Microsoft SQL Server\150\Tools\Binn\;C:\Program Files\PowerShell\7\;C:\Program Files\dotnet\;C:\Users\Jay\scoop\apps\miniconda3\current\scripts;C:\Users\Jay\scoop\apps\miniconda3\current\Library\bin;C:\Users\Jay\scoop\apps\gsudo\current;C:\Users\Jay\scoop\apps\nodejs-lts\current\bin;C:\Users\Jay\scoop\apps\nodejs-lts\current;C:\Users\Jay\scoop\shims;C:\Users\Jay\AppData\Local\Microsoft\WindowsApps;C:\Users\Jay\AppData\Local\Programs\Microsoft VS Code\bin;C:\Users\Jay\.dotnet\tools;C:\Users\Jay\.dotnet\tools;C:\Users\Jay\.dotnet\tools;C:\Users\Jay\.dotnet\tools;C:\Users\Jay\.dotnet\tools;C:\Users\Jay\.dotnet\tools;C:\Users\Jay\.dotnet\tools;C:\Users\Jay\.dotnet\tools;C:\Users\Jay\.dotnet\tools;C:\Users\Jay\.dotnet\tools;C:\Users\Jay\.dotnet\tools;C:\Users\Jay\.dotnet\tools;C:\Users\Jay\.dotnet\tools;C:\Users\Jay\.dotnet\tools;C:\Users\Jay\.dotnet\tools PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC;.CPL POSH_AZURE_ENABLED=False POSH_CURSOR_COLUMN=1 POSH_CURSOR_LINE=4 POSH_GIT_ENABLED=False POSH_PID=17956 POSH_SHELL_VERSION=7.4.1 POSH_THEMES_PATH=C:\Users\Jay\scoop\apps\oh-my-posh\current\themes POWERLINE_COMMAND=oh-my-posh POWERSHELL_DISTRIBUTION_CHANNEL=MSI:Windows 10 Pro PROCESSOR_ARCHITECTURE=AMD64 PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 94 Stepping 3, GenuineIntel PROCESSOR_LEVEL=6 PROCESSOR_REVISION=5e03 ProgramData=C:\ProgramData ProgramFiles=C:\Program Files ProgramFiles(x86)=C:\Program Files (x86) ProgramW6432=C:\Program Files PSModulePath=C:\Users\Jay\Documents\PowerShell\Modules;C:\Program Files\PowerShell\Modules;c:\program files\powershell\7\Modules;C:\Users\Jay\scoop\modules;C:\Users\Jay\Documents\WindowsPowerShell\Modules;C:\Program Files\WindowsPowerShell\Modules;C:\WINDOWS\system32\WindowsPowerShell\v1.0\Modules PUBLIC=C:\Users\Public SESSIONNAME=Console SystemDrive=C: SystemRoot=C:\WINDOWS TEMP=C:\Users\Jay\AppData\Local\Temp TMP=C:\Users\Jay\AppData\Local\Temp USERDOMAIN=ORION USERDOMAIN_ROAMINGPROFILE=ORION USERNAME=Jay USERPROFILE=C:\Users\Jay windir=C:\WINDOWS WSLENV=WT_SESSION:WT_PROFILE_ID: WT_PROFILE_ID={574e775e-4f2a-5b96-ac1e-a2962a402336} WT_SESSION=3dd5d416-05fc-47f5-baca-9864d7ad55d6]
[TRACE] 20:46:09.540 shell.go:GOOS() - 0s
[DEBUG] 20:46:09.540 shell.go:Pwd:355 → C:\Users\Jay\source\Server
[TRACE] 20:46:09.540 shell.go:Pwd() - 0s
[DEBUG] 20:46:09.540 shell_windows.go:58 → C:\Users\Jay
[TRACE] 20:46:09.540 shell.go:GOOS() - 0s
[TRACE] 20:46:09.540 shell.go:GOOS() - 0s
[TRACE] 20:46:09.540 shell.go:GOOS() - 0s
[TRACE] 20:46:09.540 shell.go:GOOS() - 0s
[TRACE] 20:46:09.540 shell.go:GOOS() - 0s
[TRACE] 20:46:09.540 shell.go:GOOS() - 0s
[TRACE] 20:46:09.540 shell.go:GOOS() - 0s
[TRACE] 20:46:09.540 shell.go:GOOS() - 0s
[TRACE] 20:46:09.540 shell.go:GOOS() - 0s
[TRACE] 20:46:09.540 shell.go:GOOS() - 0s
[DEBUG] 20:46:09.540 shell.go:User:493 → Jay
[TRACE] 20:46:09.540 shell.go:User() - 0s
[DEBUG] 20:46:09.540 shell.go:Host:505 → Orion
[TRACE] 20:46:09.540 shell.go:Host() - 0s
[TRACE] 20:46:09.540 shell.go:GOOS() - 0s
[DEBUG] 20:46:09.540 shell.go:Getenv:325 → NO DATA
[TRACE] 20:46:09.540 shell.go:Getenv(SHLVL) - 0s
[TRACE] 20:46:09.540 shell.go:TemplateCache() - 419.1µs
[DEBUG] 20:46:09.540 shell.go:Getenv:325 → 4
[TRACE] 20:46:09.540 shell.go:Getenv(POSH_CURSOR_LINE) - 0s
[DEBUG] 20:46:09.540 shell.go:Getenv:325 → 1
[TRACE] 20:46:09.540 shell.go:Getenv(POSH_CURSOR_COLUMN) - 0s
[TRACE] 20:46:09.540 shell.go:Flags() - 0s
[TRACE] 20:46:09.540 shell.go:Flags() - 0s
[TRACE] 20:46:09.540 shell.go:Shell() - 0s
[TRACE] 20:46:09.540 shell.go:Shell() - 0s
[TRACE] 20:46:09.540 shell.go:Flags() - 0s
[TRACE] 20:46:09.540 shell.go:Flags() - 0s
[TRACE] 20:46:09.540 shell.go:Pwd() - 0s
[DEBUG] 20:46:09.540 shell_windows.go:58 → C:\Users\Jay
[TRACE] 20:46:09.540 shell.go:GOOS() - 0s
[DEBUG] 20:46:09.540 properties.go:GetString:28 → {{ .Code }}
[DEBUG] 20:46:09.540 segment.go:SetEnabled:529 → Segment: Session
[TRACE] 20:46:09.540 shell.go:Pwd() - 0s
[DEBUG] 20:46:09.540 shell_windows.go:58 → C:\Users\Jay
[DEBUG] 20:46:09.540 shell.go:Getenv:325 → NO DATA
[TRACE] 20:46:09.540 shell.go:GOOS() - 0s
[TRACE] 20:46:09.540 shell.go:Getenv(SSH_CONNECTION) - 0s
[DEBUG] 20:46:09.540 segment.go:SetEnabled:529 → Segment: Status
[DEBUG] 20:46:09.540 shell.go:Getenv:325 → NO DATA
[TRACE] 20:46:09.540 shell.go:Getenv(SSH_CLIENT) - 0s
[TRACE] 20:46:09.540 shell.go:StatusCodes() - 0s
[TRACE] 20:46:09.540 shell.go:TemplateCache() - 0s
[DEBUG] 20:46:09.540 text.go:Render:70 → Rendering template: {{ .Code }}
[TRACE] 20:46:09.540 shell.go:Flags() - 0s
[TRACE] 20:46:09.540 shell.go:Pwd() - 0s
[DEBUG] 20:46:09.540 shell_windows.go:58 → C:\Users\Jay
[TRACE] 20:46:09.540 shell.go:GOOS() - 0s
[DEBUG] 20:46:09.540 segment.go:SetEnabled:529 → Segment: Path
[TRACE] 20:46:09.540 shell.go:Pwd() - 0s
[TRACE] 20:46:09.540 shell.go:Shell() - 0s
[TRACE] 20:46:09.540 shell.go:Shell() - 0s
[DEBUG] 20:46:09.540 properties.go:GetBool:22 → mapped_locations_enabled: true
[DEBUG] 20:46:09.540 properties.go:GetString:28 → 
[DEBUG] 20:46:09.540 properties.go:GetString:28 → 
[DEBUG] 20:46:09.540 shell_windows.go:58 → C:\Users\Jay
[TRACE] 20:46:09.540 shell.go:GOOS() - 0s
[TRACE] 20:46:09.540 shell.go:GOOS() - 0s
[DEBUG] 20:46:09.541 properties.go:GetString:28 → ~
[TRACE] 20:46:09.541 shell.go:Flags() - 0s
[DEBUG] 20:46:09.541 properties.go:GetKeyValueMap:46 → mapped_locations: map[]
[TRACE] 20:46:09.541 shell.go:PathSeparator() - 0s
[TRACE] 20:46:09.541 shell.go:GOOS() - 0s
[TRACE] 20:46:09.541 shell.go:GOOS() - 0s
[TRACE] 20:46:09.541 shell.go:Pwd() - 0s
[DEBUG] 20:46:09.541 shell_windows.go:58 → C:\Users\Jay
[TRACE] 20:46:09.541 shell.go:GOOS() - 0s
[DEBUG] 20:46:09.541 segment.go:SetEnabled:529 → Segment: Root
[DEBUG] 20:46:09.542 shell_windows.go:58 → C:\Users\Jay
[TRACE] 20:46:09.542 shell.go:GOOS() - 0s
[DEBUG] 20:46:09.542 segment.go:SetEnabled:529 → Segment: Git
[TRACE] 20:46:09.542 shell.go:GOOS() - 0s
[TRACE] 20:46:09.542 shell_windows.go:Root() - 530µs
[TRACE] 20:46:09.542 shell.go:GOOS() - 0s
[DEBUG] 20:46:09.542 shell.go:Getenv:325 → C:\Users\Jay\AppData\Local
[TRACE] 20:46:09.542 shell.go:Getenv(LOCALAPPDATA) - 0s
[TRACE] 20:46:09.542 shell.go:GOOS() - 0s
[TRACE] 20:46:09.542 shell.go:GOOS() - 0s
[TRACE] 20:46:09.542 shell.go:GOOS() - 0s
[TRACE] 20:46:09.542 shell.go:GOOS() - 0s
[TRACE] 20:46:09.542 shell.go:PathSeparator() - 0s
[TRACE] 20:46:09.542 shell.go:PathSeparator() - 0s
[TRACE] 20:46:09.542 shell.go:GOOS() - 0s
[TRACE] 20:46:09.542 shell.go:GOOS() - 0s
[TRACE] 20:46:09.542 shell.go:GOOS() - 0s
[TRACE] 20:46:09.542 shell.go:PathSeparator() - 0s
[TRACE] 20:46:09.542 shell.go:GOOS() - 0s
[TRACE] 20:46:09.542 shell.go:GOOS() - 0s
[TRACE] 20:46:09.542 shell.go:GOOS() - 0s
[TRACE] 20:46:09.542 shell.go:PathSeparator() - 0s
[TRACE] 20:46:09.542 shell.go:GOOS() - 0s
[TRACE] 20:46:09.542 shell.go:GOOS() - 0s
[TRACE] 20:46:09.542 shell.go:GOOS() - 0s
[TRACE] 20:46:09.542 shell.go:PathSeparator() - 0s
[TRACE] 20:46:09.542 shell.go:PathSeparator() - 0s
[DEBUG] 20:46:09.542 properties.go:GetString:28 → folder
[TRACE] 20:46:09.542 shell.go:GOOS() - 0s
[TRACE] 20:46:09.542 shell.go:GOOS() - 0s
[TRACE] 20:46:09.542 shell.go:GOOS() - 0s
[TRACE] 20:46:09.542 shell.go:GOOS() - 0s
[TRACE] 20:46:09.542 shell.go:GOOS() - 0s
[TRACE] 20:46:09.542 shell.go:GOOS() - 0s
[TRACE] 20:46:09.542 shell.go:GOOS() - 0s
[TRACE] 20:46:09.542 shell.go:GOOS() - 0s
[TRACE] 20:46:09.542 shell.go:PathSeparator() - 0s
[DEBUG] 20:46:09.542 properties.go:GetString:28 → NO DATA
[TRACE] 20:46:09.542 shell.go:PathSeparator() - 0s
[DEBUG] 20:46:09.542 properties.go:GetString:28 → \
[TRACE] 20:46:09.542 shell.go:Pwd() - 0s
[TRACE] 20:46:09.542 shell_windows.go:IsWsl() - 0s
[TRACE] 20:46:09.542 shell.go:StackCount() - 0s
[TRACE] 20:46:09.542 shell.go:TemplateCache() - 0s
[DEBUG] 20:46:09.542 properties.go:GetBool:22 → always_enabled: true
[TRACE] 20:46:09.542 shell.go:TemplateCache() - 0s
[DEBUG] 20:46:09.543 win32_windows.go:isWriteable:299 → not current user or in group
[DEBUG] 20:46:09.543 win32_windows.go:isWriteable:303 → current user is member of S-1-5-32-544
[DEBUG] 20:46:09.543 win32_windows.go:isWriteable:311 ↓
    WRITE_DAC
        WRITE_OWNER
            SYNCHRONIZE
                DELETE
                    READ_CONTROL
                    [DEBUG] 20:46:09.543 win32_windows.go:isWriteable:313 → user has write access
                    [TRACE] 20:46:09.543 shell_windows.go:DirIsWritable() - 1.0855ms
                    [TRACE] 20:46:09.543 shell.go:TemplateCache() - 0s
                    [DEBUG] 20:46:09.563 shell.go:CommandPath:545 → C:\Users\Jay\scoop\shims\git.exe
                    [TRACE] 20:46:09.563 shell.go:CommandPath(git.exe) - 21.5899ms
                    [TRACE] 20:46:09.563 shell.go:HasCommand(git.exe) - 21.5899ms
                    [TRACE] 20:46:09.563 shell.go:Pwd() - 0s
                    [TRACE] 20:46:09.564 shell.go:HasParentFilePath(.git) - 554.6µs
                    [DEBUG] 20:46:09.564 properties.go:GetStringArray:52 → exclude_folders: []
                    [DEBUG] 20:46:09.564 shell_windows.go:58 → C:\Users\Jay
                    [TRACE] 20:46:09.564 shell.go:GOOS() - 0s
                    [TRACE] 20:46:09.564 shell.go:GOOS() - 0s
                    [TRACE] 20:46:09.564 shell.go:GOOS() - 0s
                    [DEBUG] 20:46:09.564 properties.go:GetBool:22 → fetch_user: false
                    [TRACE] 20:46:09.564 shell.go:GOOS() - 0s
                    [TRACE] 20:46:09.564 shell.go:GOOS() - 0s
                    [TRACE] 20:46:09.564 shell.go:GOOS() - 0s
                    [TRACE] 20:46:09.564 shell.go:GOOS() - 0s
                    [TRACE] 20:46:09.564 shell.go:GOOS() - 0s
                    [TRACE] 20:46:09.564 shell.go:GOOS() - 0s
                    [DEBUG] 20:46:09.564 shell.go:Getenv:325 → NO DATA
                    [TRACE] 20:46:09.564 shell.go:Getenv(POSH_GIT_STATUS) - 0s
                    [DEBUG] 20:46:09.564 properties.go:GetBool:22 → fetch_status: true
                    [DEBUG] 20:46:09.564 properties.go:GetStringArray:52 → ignore_status: []
                    [DEBUG] 20:46:09.564 shell_windows.go:58 → C:\Users\Jay
                    [TRACE] 20:46:09.564 shell.go:GOOS() - 0s
                    [DEBUG] 20:46:09.564 properties.go:GetKeyValueMap:46 → status_formats: map[]
                    [DEBUG] 20:46:09.564 properties.go:GetKeyValueMap:46 → untracked_modes: map[]
                    [DEBUG] 20:46:09.564 properties.go:GetKeyValueMap:46 → ignore_submodules: map[]
                    [DEBUG] 20:46:09.645 shell.go:RunCommand:523 ↓
                        # branch.oid 18f0546589a244e22f11f9723a0811a853d78824
                            # branch.head questpdf-linux
                                # branch.upstream origin/questpdf-linux
                                    # branch.ab +0 -0
                                    [TRACE] 20:46:09.646 shell.go:RunCommand(git.exe -C C:/Users/Jay/source --no-optional-locks -c core.quotepath=false -c color.status=false status -unormal --branch --porcelain=2) - 81.5432ms
                                    [DEBUG] 20:46:09.646 properties.go:GetString:28 → 
                                    [DEBUG] 20:46:09.646 properties.go:GetInt:40 → branch_max_length: 25
                                    [DEBUG] 20:46:09.646 shell.go:HasFolder:437 → false
                                    [TRACE] 20:46:09.646 shell.go:HasFolder(C:\Users\Jay\source\Server\.git/rebase-merge) - 0s
                                    [DEBUG] 20:46:09.646 shell.go:HasFolder:437 → false
                                    [TRACE] 20:46:09.646 shell.go:HasFolder(C:\Users\Jay\source\Server\.git/rebase-apply) - 0s
                                    [DEBUG] 20:46:09.646 properties.go:GetString:28 → 
                                    [DEBUG] 20:46:09.646 shell.go:HasFilesInDir:408 → false
                                    [TRACE] 20:46:09.646 shell.go:HasFilesInDir(MERGE_MSG) - 0s
                                    [DEBUG] 20:46:09.646 shell.go:HasFilesInDir:408 → false
                                    [TRACE] 20:46:09.646 shell.go:HasFilesInDir(CHERRY_PICK_HEAD) - 0s
                                    [DEBUG] 20:46:09.646 shell.go:HasFilesInDir:408 → false
                                    [TRACE] 20:46:09.646 shell.go:HasFilesInDir(REVERT_HEAD) - 0s
                                    [DEBUG] 20:46:09.646 shell.go:HasFilesInDir:408 → false
                                    [TRACE] 20:46:09.646 shell.go:HasFilesInDir(sequencer/todo) - 0s
                                    [DEBUG] 20:46:09.646 properties.go:GetString:28 → ≡
                                    [DEBUG] 20:46:09.646 properties.go:GetBool:22 → fetch_upstream_icon: true
                                    [DEBUG] 20:46:09.647 properties.go:GetKeyValueMap:46 → upstream_icons: map[]
                                    [DEBUG] 20:46:09.647 properties.go:GetString:28 → 
                                    [TRACE] 20:46:09.647 shell.go:TemplateCache() - 0s
                                    [DEBUG] 20:46:09.647 text.go:Render:70 → Rendering template:  {{ if gt .Code 0 }}{{ else }}{{ end }}
                                    [DEBUG] 20:46:09.647 text.go:Render:70 → Rendering template:   {{ path .Path .Location }}
                                    [DEBUG] 20:46:09.647 text.go:Render:70 → Rendering template:  {{ if .SSHSession }} {{ end }}{{ .UserName }}
                                    [DEBUG] 20:46:09.647 text.go:Render:70 → 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] 20:46:09.647 shell.go:TemplateCache() - 0s
                                    [TRACE] 20:46:09.647 shell.go:TemplateCache() - 0s
                                    [TRACE] 20:46:09.647 shell.go:Shell() - 0s
                                    [TRACE] 20:46:09.647 shell.go:Shell() - 0s
                                    [TRACE] 20:46:09.647 shell.go:TemplateCache() - 0s
                                    [TRACE] 20:46:09.648 shell.go:TemplateCache() - 0s
                                    [TRACE] 20:46:09.648 shell.go:Shell() - 0s
                                    [TRACE] 20:46:09.648 shell.go:Shell() - 0s
                                    [DEBUG] 20:46:09.648 text.go:Render:70 → Rendering template: diamond
                                    [DEBUG] 20:46:09.648 text.go:Render:70 → Rendering template: powerline
                                    [DEBUG] 20:46:09.649 text.go:Render:70 → Rendering template: {{ if or (.Working.Changed) (.Staging.Changed) }}p:yellow{{ end }}
                                    [TRACE] 20:46:09.649 shell.go:TemplateCache() - 0s
                                    [DEBUG] 20:46:09.649 text.go:Render:70 → Rendering template: {{ if and (gt .Ahead 0) (gt .Behind 0) }}p:red{{ end }}
                                    [TRACE] 20:46:09.649 shell.go:TemplateCache() - 0s
                                    [DEBUG] 20:46:09.649 text.go:Render:70 → Rendering template: {{ if gt .Ahead 0 }}#49416D{{ end }}
                                    [TRACE] 20:46:09.649 shell.go:TemplateCache() - 0s
                                    [DEBUG] 20:46:09.649 text.go:Render:70 → Rendering template: {{ if gt .Behind 0 }}#7A306C{{ end }}
                                    [TRACE] 20:46:09.650 shell.go:TemplateCache() - 0s
                                    [DEBUG] 20:46:09.650 text.go:Render:70 → Rendering template: {{ if or (.Working.Changed) (.Staging.Changed) }}p:black{{ end }}
                                    [TRACE] 20:46:09.650 shell.go:TemplateCache() - 0s
                                    [DEBUG] 20:46:09.650 text.go:Render:70 → Rendering template: {{ if and (gt .Ahead 0) (gt .Behind 0) }}p:white{{ end }}
                                    [TRACE] 20:46:09.650 shell.go:TemplateCache() - 0s
                                    [DEBUG] 20:46:09.650 text.go:Render:70 → Rendering template: {{ if gt .Ahead 0 }}p:white{{ end }}
                                    [TRACE] 20:46:09.650 shell.go:TemplateCache() - 0s
                                    [DEBUG] 20:46:09.650 text.go:Render:70 → Rendering template: powerline
                                    [DEBUG] 20:46:09.650 text.go:Render:70 → Rendering template: powerline
                                    [DEBUG] 20:46:09.650 text.go:Render:70 → Rendering template: {{ if gt .Code 0 }}p:red{{ end }}
                                    [TRACE] 20:46:09.650 shell.go:TemplateCache() - 0s
                                    [DEBUG] 20:46:09.650 text.go:Render:70 → Rendering template: diamond
                                    [TRACE] 20:46:09.650 shell.go:Shell() - 0s
                                    [TRACE] 20:46:09.650 shell.go:Shell() - 0s
                                    [TRACE] 20:46:09.650 shell.go:Shell() - 0s
                                    [TRACE] 20:46:09.650 shell.go:Shell() - 0s
                                    [TRACE] 20:46:09.650 shell.go:Flags() - 0s
                                    [TRACE] 20:46:09.650 shell.go:Flags() - 0s
                                    [TRACE] 20:46:09.650 shell.go:Pwd() - 0s
                                    [DEBUG] 20:46:09.651 shell_windows.go:58 → C:\Users\Jay
                                    [TRACE] 20:46:09.651 shell.go:GOOS() - 0s
                                    [TRACE] 20:46:09.651 shell.go:Flags() - 0s
                                    [TRACE] 20:46:09.651 shell.go:Pwd() - 0s
                                    [DEBUG] 20:46:09.651 segment.go:SetEnabled:529 → Segment: Time
                                    [DEBUG] 20:46:09.651 shell_windows.go:58 → C:\Users\Jay
                                    [TRACE] 20:46:09.651 shell.go:GOOS() - 0s
                                    [TRACE] 20:46:09.651 shell.go:Pwd() - 0s
                                    [DEBUG] 20:46:09.651 properties.go:GetString:28 → 15:04:05
                                    [DEBUG] 20:46:09.651 segment.go:SetEnabled:529 → Segment: Go
                                    [TRACE] 20:46:09.651 shell.go:TemplateCache() - 0s
                                    [TRACE] 20:46:09.651 shell.go:Flags() - 0s
                                    [DEBUG] 20:46:09.651 shell_windows.go:58 → C:\Users\Jay
                                    [TRACE] 20:46:09.651 shell.go:Flags() - 0s
                                    [DEBUG] 20:46:09.651 properties.go:GetStringArray:52 → extensions: [*.go go.mod]
                                    [TRACE] 20:46:09.651 shell.go:GOOS() - 0s
                                    [DEBUG] 20:46:09.651 segment.go:SetEnabled:529 → Segment: Node
                                    [TRACE] 20:46:09.651 shell.go:Pwd() - 0s
                                    [DEBUG] 20:46:09.651 properties.go:GetStringArray:52 → folders: []
                                    [DEBUG] 20:46:09.651 properties.go:GetString:28 → files
                                    [DEBUG] 20:46:09.651 properties.go:GetBool:22 → home_enabled: false
                                    [DEBUG] 20:46:09.651 properties.go:GetStringArray:52 → extensions: [*.js *.ts package.json .nvmrc pnpm-workspace.yaml .pnpmfile.cjs .npmrc .vue]
                                    [TRACE] 20:46:09.651 shell.go:Pwd() - 0s
                                    [DEBUG] 20:46:09.651 shell_windows.go:58 → C:\Users\Jay
                                    [TRACE] 20:46:09.651 shell.go:Pwd() - 0s
                                    [TRACE] 20:46:09.651 shell.go:GOOS() - 0s
                                    [DEBUG] 20:46:09.651 properties.go:GetStringArray:52 → folders: []
                                    [DEBUG] 20:46:09.651 shell_windows.go:58 → C:\Users\Jay
                                    [DEBUG] 20:46:09.651 shell_windows.go:58 → C:\Users\Jay
                                    [DEBUG] 20:46:09.651 properties.go:GetString:28 → files
                                    [TRACE] 20:46:09.651 shell.go:GOOS() - 0s
                                    [DEBUG] 20:46:09.651 properties.go:GetBool:22 → home_enabled: false
                                    [TRACE] 20:46:09.651 shell.go:Pwd() - 0s
                                    [DEBUG] 20:46:09.651 segment.go:SetEnabled:529 → Segment: Python
                                    [TRACE] 20:46:09.651 shell.go:Pwd() - 0s
                                    [DEBUG] 20:46:09.651 properties.go:GetKeyValueMap:46 → mapped_shell_names: map[]
                                    [DEBUG] 20:46:09.651 properties.go:GetStringArray:52 → extensions: [*.py *.ipynb pyproject.toml venv.bak]
                                    [DEBUG] 20:46:09.651 shell_windows.go:58 → C:\Users\Jay
                                    [DEBUG] 20:46:09.651 properties.go:GetStringArray:52 → folders: [.venv venv virtualenv venv-win pyenv-win]
                                    [TRACE] 20:46:09.651 shell.go:Shell() - 0s
                                    [DEBUG] 20:46:09.651 properties.go:GetBool:22 → home_enabled: false
                                    [DEBUG] 20:46:09.651 properties.go:GetString:28 → files
                                    [TRACE] 20:46:09.651 shell.go:Pwd() - 0s
                                    [TRACE] 20:46:09.651 shell.go:Flags() - 0s
                                    [DEBUG] 20:46:09.651 shell_windows.go:58 → C:\Users\Jay
                                    [TRACE] 20:46:09.651 shell.go:TemplateCache() - 0s
                                    [DEBUG] 20:46:09.651 properties.go:GetBool:22 → fetch_virtual_env: false
                                    [TRACE] 20:46:09.651 shell.go:Pwd() - 0s
                                    [DEBUG] 20:46:09.651 properties.go:GetBool:22 → fetch_package_manager: false
                                    [TRACE] 20:46:09.651 shell.go:Pwd() - 0s
                                    [DEBUG] 20:46:09.651 shell.go:HasFilesInDir:408 → false
                                    [TRACE] 20:46:09.651 shell.go:HasFilesInDir(*.go) - 547.4µs
                                    [TRACE] 20:46:09.651 shell.go:Pwd() - 0s
                                    [DEBUG] 20:46:09.651 shell.go:HasFilesInDir:408 → false
                                    [TRACE] 20:46:09.651 shell.go:HasFilesInDir(go.mod) - 0s
                                    [DEBUG] 20:46:09.651 shell.go:HasFilesInDir:408 → false
                                    [TRACE] 20:46:09.651 shell.go:HasFilesInDir(*.js) - 547.4µs
                                    [TRACE] 20:46:09.651 shell.go:Pwd() - 0s
                                    [DEBUG] 20:46:09.651 shell.go:HasFilesInDir:408 → false
                                    [TRACE] 20:46:09.651 shell.go:HasFilesInDir(*.ts) - 0s
                                    [TRACE] 20:46:09.651 shell.go:Pwd() - 0s
                                    [DEBUG] 20:46:09.651 shell.go:HasFilesInDir:408 → false
                                    [TRACE] 20:46:09.651 shell.go:HasFilesInDir(package.json) - 0s
                                    [DEBUG] 20:46:09.651 shell.go:HasFilesInDir:408 → false
                                    [TRACE] 20:46:09.651 shell.go:HasFilesInDir(*.py) - 547.4µs
                                    [TRACE] 20:46:09.651 shell.go:Pwd() - 0s
                                    [DEBUG] 20:46:09.651 shell.go:HasFilesInDir:408 → false
                                    [TRACE] 20:46:09.651 shell.go:HasFilesInDir(.nvmrc) - 0s
                                    [TRACE] 20:46:09.651 shell.go:Pwd() - 0s
                                    [DEBUG] 20:46:09.651 shell.go:HasFilesInDir:408 → false
                                    [TRACE] 20:46:09.651 shell.go:HasFilesInDir(pnpm-workspace.yaml) - 0s
                                    [TRACE] 20:46:09.651 shell.go:Pwd() - 0s
                                    [TRACE] 20:46:09.651 shell.go:Pwd() - 0s
                                    [DEBUG] 20:46:09.651 shell.go:HasFilesInDir:408 → false
                                    [TRACE] 20:46:09.651 shell.go:HasFilesInDir(.pnpmfile.cjs) - 0s
                                    [DEBUG] 20:46:09.651 shell.go:HasFilesInDir:408 → false
                                    [TRACE] 20:46:09.651 shell.go:Pwd() - 0s
                                    [TRACE] 20:46:09.651 shell.go:HasFilesInDir(*.ipynb) - 0s
                                    [DEBUG] 20:46:09.651 shell.go:HasFilesInDir:408 → false
                                    [TRACE] 20:46:09.651 shell.go:HasFilesInDir(.npmrc) - 0s
                                    [TRACE] 20:46:09.651 shell.go:Pwd() - 0s
                                    [DEBUG] 20:46:09.651 shell.go:HasFilesInDir:408 → false
                                    [TRACE] 20:46:09.651 shell.go:HasFilesInDir(pyproject.toml) - 0s
                                    [TRACE] 20:46:09.652 shell.go:Pwd() - 0s
                                    [DEBUG] 20:46:09.652 shell.go:HasFilesInDir:408 → false
                                    [TRACE] 20:46:09.652 shell.go:HasFilesInDir(venv.bak) - 0s
                                    [TRACE] 20:46:09.652 shell.go:Pwd() - 0s
                                    [DEBUG] 20:46:09.652 shell.go:HasFilesInDir:408 → false
                                    [TRACE] 20:46:09.652 shell.go:HasFilesInDir(.vue) - 0s
                                    [DEBUG] 20:46:09.652 shell.go:HasFolder:437 → false
                                    [TRACE] 20:46:09.652 shell.go:HasFolder(.venv) - 53.1µs
                                    [DEBUG] 20:46:09.652 shell.go:HasFolder:437 → false
                                    [TRACE] 20:46:09.652 shell.go:HasFolder(venv) - 0s
                                    [DEBUG] 20:46:09.652 shell.go:HasFolder:437 → false
                                    [TRACE] 20:46:09.652 shell.go:HasFolder(virtualenv) - 0s
                                    [DEBUG] 20:46:09.652 shell.go:HasFolder:437 → false
                                    [TRACE] 20:46:09.652 shell.go:HasFolder(venv-win) - 546.1µs
                                    [DEBUG] 20:46:09.652 shell.go:HasFolder:437 → false
                                    [TRACE] 20:46:09.652 shell.go:HasFolder(pyenv-win) - 0s
                                    [DEBUG] 20:46:09.652 text.go:Render:70 → Rendering template: at <p:blue><b>{{ .CurrentDate | date "15:04:05" }}</b></>
                                    [DEBUG] 20:46:09.652 text.go:Render:70 → Rendering template: in <p:blue><b>{{ .Name }}</b></>
                                    [TRACE] 20:46:09.652 shell.go:TemplateCache() - 0s
                                    [TRACE] 20:46:09.652 shell.go:TemplateCache() - 0s
                                    [TRACE] 20:46:09.652 shell.go:Shell() - 0s
                                    [TRACE] 20:46:09.652 shell.go:Shell() - 0s
                                    [DEBUG] 20:46:09.652 text.go:Render:70 → Rendering template: plain
                                    [DEBUG] 20:46:09.652 text.go:Render:70 → Rendering template: plain
                                    [DEBUG] 20:46:09.652 text.go:Render:70 → Rendering template: plain
                                    [DEBUG] 20:46:09.652 text.go:Render:70 → Rendering template: plain
                                    [DEBUG] 20:46:09.652 text.go:Render:70 → Rendering template: plain
                                    [TRACE] 20:46:09.652 shell.go:Shell() - 0s
                                    [TRACE] 20:46:09.652 shell.go:Shell() - 0s
                                    [TRACE] 20:46:09.652 shell.go:Flags() - 0s
                                    [TRACE] 20:46:09.652 shell.go:Shell() - 0s
                                    [TRACE] 20:46:09.652 shell.go:Shell() - 0s
                                    [DEBUG] 20:46:09.652 shell.go:Getenv:325 → C:\Users\Jay\AppData\Local
                                    [TRACE] 20:46:09.652 shell.go:Getenv(LOCALAPPDATA) - 0s
                                    [TRACE] 20:46:09.652 shell_windows.go:CachePath() - 0s
                                    [TRACE] 20:46:09.652 shell.go:Flags() - 0s
pkropachev commented 8 months ago

I have the same problem.

image

JanDeDobbeleer commented 8 months ago

This is actually a Windows Terminal bug as it incorrectly cuts the icon. I thought they already fixed this, but alas.

pkropachev commented 8 months ago

On Linux (Terminator terminal) it looks like the following:

image

As far as I remember icon of git repo looked better.

JanDeDobbeleer commented 8 months ago

@pkropachev check, I'm going to revert that change. It indeed is better off with a space by default. Must've been a bit asleep when I did that.

pkropachev commented 8 months ago

With version 19.17.1 size between git repo icon and branch icon looks more.

image

JanDeDobbeleer commented 8 months ago

@pkropachev it's a literal revert, bo additional spaces were added.

pkropachev commented 7 months ago

@JanDeDobbeleer, thanks for the quick fix!

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