JanDeDobbeleer / oh-my-posh

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

rendering problem in windows terminal app (work fine in vs code terminal) #4794

Closed sharif221 closed 6 months ago

sharif221 commented 6 months ago

Code of Conduct

What happened?

it recognizes the nerd font characters but renders them in an ugly way.

this is what i get: winTerminal

this is expected as shown in vscode terminal in same os: vsCodeTerminal

I checked utf-8 solution for pwsh 7.4.? but there was no difference

Theme

base theme

What OS are you seeing the problem on?

Windows

Which shell are you using?

powershell

Log output

Version: 19.18.1

Shell: pwsh (7.4.1)

Prompt:

 sharif   ~                                                                                in pwsh at 00:50:19
Segments:

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

Run duration: 11.5807ms

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

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

Logs:

[DEBUG] 00:50:19.194 shell.go:Getenv:325 → NO DATA
[TRACE] 00:50:19.194 shell.go:Getenv(TERM_PROGRAM) - 0s
[DEBUG] 00:50:19.194 shell.go:Getenv:325 → C:\Users\sharif\AppData\Local
[TRACE] 00:50:19.194 shell.go:Getenv(LOCALAPPDATA) - 0s
[TRACE] 00:50:19.194 shell_windows.go:CachePath() - 0s
[DEBUG] 00:50:19.198 shell.go:Getenv:325 → NO DATA
[TRACE] 00:50:19.198 shell.go:Getenv(POSH_THEME) - 0s
[DEBUG] 00:50:19.198 shell.go:resolveConfigPath:245 → No config set, fallback to default config
[TRACE] 00:50:19.198 shell.go:resolveConfigPath() - 0s
[TRACE] 00:50:19.198 shell.go:Init() - 3.5198ms
[TRACE] 00:50:19.198 shell.go:Flags() - 0s
[DEBUG] 00:50:19.198 config.go:loadConfig:126 → no config file specified, using default
[TRACE] 00:50:19.198 config.go:loadConfig() - 0s
[TRACE] 00:50:19.198 shell.go:Flags() - 0s
[DEBUG] 00:50:19.198 shell.go:Getenv:325 → NO DATA
[TRACE] 00:50:19.198 shell.go:Getenv(OMP_CACHE_DISABLED) - 0s
[TRACE] 00:50:19.198 shell_windows.go:WindowsRegistryKeyValue(HKEY_CURRENT_USER\Software\Microsoft\Windows\DWM\ColorizationColor) - 0s
[TRACE] 00:50:19.198 shell.go:GOOS() - 0s
[TRACE] 00:50:19.198 shell.go:GOOS() - 0s
[TRACE] 00:50:19.198 shell.go:GOOS() - 0s
[TRACE] 00:50:19.198 shell.go:GOOS() - 0s
[TRACE] 00:50:19.198 shell.go:GOOS() - 0s
[TRACE] 00:50:19.198 shell.go:GOOS() - 0s
[TRACE] 00:50:19.198 shell.go:GOOS() - 0s
[TRACE] 00:50:19.198 shell.go:GOOS() - 0s
[TRACE] 00:50:19.198 shell.go:GOOS() - 0s
[TRACE] 00:50:19.198 shell.go:GOOS() - 0s
[TRACE] 00:50:19.198 shell.go:GOOS() - 0s
[TRACE] 00:50:19.198 shell.go:GOOS() - 0s
[TRACE] 00:50:19.198 shell.go:GOOS() - 0s
[TRACE] 00:50:19.198 shell.go:GOOS() - 0s
[TRACE] 00:50:19.198 shell.go:GOOS() - 0s
[TRACE] 00:50:19.198 shell.go:GOOS() - 0s
[TRACE] 00:50:19.198 shell.go:GOOS() - 0s
[TRACE] 00:50:19.198 shell.go:GOOS() - 0s
[TRACE] 00:50:19.198 shell.go:GOOS() - 0s
[DEBUG] 00:50:19.198 shell_windows.go:WindowsRegistryKeyValue:217 → ColorizationColor(DWORD): 0xC40078D4
[DEBUG] 00:50:19.198 shell.go:Shell:593 → no shell name provided in flags, trying to detect it
[DEBUG] 00:50:19.201 shell.go:Shell:601 → process name: pwsh.exe
[TRACE] 00:50:19.201 shell.go:Shell() - 3.0877ms
[DEBUG] 00:50:19.201 shell.go:Getenv:325 → 7.4.1
[TRACE] 00:50:19.201 shell.go:Getenv(POSH_SHELL_VERSION) - 0s
[DEBUG] 00:50:19.201 debug.go:PrintDebug:22 → Segment: Title
[DEBUG] 00:50:19.201 text.go:Render:70 → Rendering template: {{ .Shell }} in {{ .Folder }}
[TRACE] 00:50:19.201 shell_windows.go:Root() - 0s
[TRACE] 00:50:19.201 shell.go:Shell() - 0s
[TRACE] 00:50:19.201 shell.go:StatusCodes() - 0s
[TRACE] 00:50:19.201 shell_windows.go:IsWsl() - 0s
[DEBUG] 00:50:19.201 shell.go:TemplateCache:774 → environment: [ACSetupSvcPort=23210 ACSvcPort=17532 ALLUSERSPROFILE=C:\ProgramData APPDATA=C:\Users\sharif\AppData\Roaming ChocolateyInstall=C:\ProgramData\chocolatey ChocolateyLastPathUpdate=133498992010436343 CommonProgramFiles=C:\Program Files\Common Files CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files CommonProgramW6432=C:\Program Files\Common Files COMPUTERNAME=DESKTOP-7B9FBQ4 ComSpec=C:\Windows\system32\cmd.exe CONDA_PROMPT_MODIFIER=False DriverData=C:\Windows\System32\Drivers\DriverData HOMEDRIVE=C: HOMEPATH=\Users\sharif LOCALAPPDATA=C:\Users\sharif\AppData\Local LOGONSERVER=\\DESKTOP-7B9FBQ4 NUMBER_OF_PROCESSORS=20 NVM_HOME=C:\ProgramData\nvm NVM_SYMLINK=C:\Program Files\nodejs OneDrive=C:\Users\sharif\OneDrive OS=Windows_NT Path=C:\Program Files\WindowsApps\Microsoft.PowerShell_7.4.1.0_x64__8wekyb3d8bbwe;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Program Files\dotnet\;C:\ProgramData\chocolatey\bin;C:\Users\sharif\AppData\Local\Programs\Python\Python312\Scripts\;C:\Users\sharif\AppData\Local\Programs\Python\Python312\;C:\Users\sharif\AppData\Local\Microsoft\WindowsApps;C:\Users\sharif\AppData\Local\Programs\Microsoft VS Code\bin;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files\Git\cmd;C:\Program Files\NVIDIA Corporation\NVIDIA App\NvDLISR;C:\php;C:\ProgramData\ComposerSetup\bin;%NVM_HOME%;%NVM_SYMLINK%;C:\Users\sharif\AppData\Local\Programs\Python\Python312\Scripts\;C:\Users\sharif\AppData\Local\Programs\Python\Python312\;C:\Users\sharif\AppData\Local\Microsoft\WindowsApps;C:\Users\sharif\AppData\Local\Programs\Microsoft VS Code\bin;C:\Users\sharif\.dotnet\tools;C:\Users\sharif\AppData\Roaming\Composer\vendor\bin;C:\Users\sharif\AppData\Local\Programs\oh-my-posh\bin;C:\Program Files\Neovim\bin;C:\Users\sharif\AppData\Roaming\npm;C:\ProgramData\nvm;C:\Program Files\nodejs PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC;.CPL POSH_AZURE_ENABLED=False POSH_CURSOR_COLUMN=1 POSH_CURSOR_LINE=19 POSH_GIT_ENABLED=False POSH_INSTALLER=winget POSH_PID=16780 POSH_SHELL_VERSION=7.4.1 POSH_THEMES_PATH=C:\Users\sharif\AppData\Local\Programs\oh-my-posh\themes POWERLINE_COMMAND=oh-my-posh PROCESSOR_ARCHITECTURE=AMD64 PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 154 Stepping 3, GenuineIntel PROCESSOR_LEVEL=6 PROCESSOR_REVISION=9a03 ProgramData=C:\ProgramData ProgramFiles=C:\Program Files ProgramFiles(x86)=C:\Program Files (x86) ProgramW6432=C:\Program Files PSModulePath=C:\Users\sharif\Documents\PowerShell\Modules;C:\Program Files\PowerShell\Modules;c:\program files\windowsapps\microsoft.powershell_7.4.1.0_x64__8wekyb3d8bbwe\Modules;C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules PUBLIC=C:\Users\Public RlsSvcPort=22112 SESSIONNAME=Console SystemDrive=C: SystemRoot=C:\Windows TEMP=C:\Users\sharif\AppData\Local\Temp TMP=C:\Users\sharif\AppData\Local\Temp USERDOMAIN=DESKTOP-7B9FBQ4 USERDOMAIN_ROAMINGPROFILE=DESKTOP-7B9FBQ4 USERNAME=sharif USERPROFILE=C:\Users\sharif VBOX_MSI_INSTALL_PATH=C:\Program Files\Oracle\VirtualBox\ windir=C:\Windows WSLENV=WT_SESSION:WT_PROFILE_ID: WT_PROFILE_ID={574e775e-4f2a-5b96-ac1e-a2962a402336} WT_SESSION=720902a4-cc0d-4981-9946-0faae2755196 ZES_ENABLE_SYSMAN=1]
[TRACE] 00:50:19.201 shell.go:GOOS() - 0s
[DEBUG] 00:50:19.201 shell.go:Pwd:355 → C:\Users\sharif
[TRACE] 00:50:19.201 shell.go:Pwd() - 0s
[DEBUG] 00:50:19.201 shell_windows.go:58 → C:\Users\sharif
[TRACE] 00:50:19.201 shell.go:GOOS() - 0s
[TRACE] 00:50:19.201 shell.go:GOOS() - 0s
[TRACE] 00:50:19.201 shell.go:GOOS() - 0s
[TRACE] 00:50:19.201 shell.go:GOOS() - 0s
[TRACE] 00:50:19.201 shell.go:GOOS() - 0s
[TRACE] 00:50:19.201 shell.go:GOOS() - 0s
[TRACE] 00:50:19.201 shell.go:GOOS() - 0s
[TRACE] 00:50:19.201 shell.go:GOOS() - 0s
[TRACE] 00:50:19.201 shell.go:GOOS() - 0s
[DEBUG] 00:50:19.201 shell.go:User:493 → sharif
[TRACE] 00:50:19.201 shell.go:User() - 0s
[DEBUG] 00:50:19.201 shell.go:Host:505 → DESKTOP-7B9FBQ4
[TRACE] 00:50:19.201 shell.go:Host() - 0s
[TRACE] 00:50:19.201 shell.go:GOOS() - 0s
[DEBUG] 00:50:19.201 shell.go:Getenv:325 → NO DATA
[TRACE] 00:50:19.201 shell.go:Getenv(SHLVL) - 0s
[TRACE] 00:50:19.201 shell.go:TemplateCache() - 0s
[DEBUG] 00:50:19.202 shell.go:Getenv:325 → 19
[TRACE] 00:50:19.202 shell.go:Getenv(POSH_CURSOR_LINE) - 0s
[DEBUG] 00:50:19.202 shell.go:Getenv:325 → 1
[TRACE] 00:50:19.202 shell.go:Getenv(POSH_CURSOR_COLUMN) - 0s
[TRACE] 00:50:19.202 shell.go:Flags() - 0s
[TRACE] 00:50:19.202 shell.go:Flags() - 0s
[TRACE] 00:50:19.202 shell.go:Shell() - 0s
[TRACE] 00:50:19.202 shell.go:Shell() - 0s
[TRACE] 00:50:19.202 shell.go:Flags() - 0s
[DEBUG] 00:50:19.202 properties.go:GetString:28 → {{ .Code }}
[TRACE] 00:50:19.202 shell.go:Pwd() - 0s
[DEBUG] 00:50:19.202 shell_windows.go:58 → C:\Users\sharif
[TRACE] 00:50:19.202 shell.go:GOOS() - 0s
[DEBUG] 00:50:19.202 segment.go:SetEnabled:529 → Segment: Status
[TRACE] 00:50:19.202 shell.go:StatusCodes() - 0s
[DEBUG] 00:50:19.202 text.go:Render:70 → Rendering template: {{ .Code }}
[TRACE] 00:50:19.202 shell.go:Flags() - 0s
[TRACE] 00:50:19.202 shell.go:Flags() - 0s
[TRACE] 00:50:19.202 shell.go:Flags() - 0s
[TRACE] 00:50:19.202 shell.go:Pwd() - 0s
[DEBUG] 00:50:19.202 shell_windows.go:58 → C:\Users\sharif
[TRACE] 00:50:19.202 shell.go:Pwd() - 0s
[TRACE] 00:50:19.202 shell.go:GOOS() - 0s
[TRACE] 00:50:19.202 shell.go:Pwd() - 0s
[DEBUG] 00:50:19.202 segment.go:SetEnabled:529 → Segment: Path
[DEBUG] 00:50:19.202 shell_windows.go:58 → C:\Users\sharif
[TRACE] 00:50:19.202 shell.go:GOOS() - 0s
[DEBUG] 00:50:19.202 segment.go:SetEnabled:529 → Segment: Git
[TRACE] 00:50:19.202 shell.go:Pwd() - 0s
[DEBUG] 00:50:19.202 shell_windows.go:58 → C:\Users\sharif
[TRACE] 00:50:19.202 shell.go:Shell() - 0s
[TRACE] 00:50:19.202 shell.go:GOOS() - 0s
[TRACE] 00:50:19.202 shell.go:Flags() - 0s
[TRACE] 00:50:19.202 shell.go:TemplateCache() - 0s
[TRACE] 00:50:19.202 shell.go:GOOS() - 0s
[DEBUG] 00:50:19.202 segment.go:SetEnabled:529 → Segment: Session
[DEBUG] 00:50:19.202 shell.go:Getenv:325 → C:\Users\sharif\AppData\Local
[DEBUG] 00:50:19.202 properties.go:GetBool:22 → always_enabled: true
[TRACE] 00:50:19.202 shell.go:Getenv(LOCALAPPDATA) - 0s
[TRACE] 00:50:19.202 shell.go:TemplateCache() - 0s
[DEBUG] 00:50:19.202 shell.go:Getenv:325 → NO DATA
[TRACE] 00:50:19.202 shell.go:Getenv(SSH_CONNECTION) - 0s
[TRACE] 00:50:19.202 shell.go:Flags() - 0s
[DEBUG] 00:50:19.202 shell.go:Getenv:325 → NO DATA
[TRACE] 00:50:19.202 shell.go:Getenv(SSH_CLIENT) - 0s
[TRACE] 00:50:19.202 shell.go:TemplateCache() - 0s
[TRACE] 00:50:19.202 shell.go:Pwd() - 0s
[DEBUG] 00:50:19.202 shell_windows.go:58 → C:\Users\sharif
[TRACE] 00:50:19.202 shell.go:GOOS() - 0s
[DEBUG] 00:50:19.202 segment.go:SetEnabled:529 → Segment: Root
[DEBUG] 00:50:19.202 properties.go:GetBool:22 → mapped_locations_enabled: true
[DEBUG] 00:50:19.202 properties.go:GetString:28 → 
[DEBUG] 00:50:19.202 properties.go:GetString:28 → 
[DEBUG] 00:50:19.202 shell_windows.go:58 → C:\Users\sharif
[TRACE] 00:50:19.202 shell.go:GOOS() - 0s
[TRACE] 00:50:19.202 shell.go:GOOS() - 0s
[DEBUG] 00:50:19.202 properties.go:GetString:28 → ~
[DEBUG] 00:50:19.202 properties.go:GetKeyValueMap:46 → mapped_locations: map[]
[TRACE] 00:50:19.202 shell_windows.go:Root() - 0s
[TRACE] 00:50:19.202 shell.go:TemplateCache() - 0s
[TRACE] 00:50:19.202 shell.go:PathSeparator() - 0s
[TRACE] 00:50:19.202 shell.go:GOOS() - 0s
[TRACE] 00:50:19.202 shell.go:GOOS() - 0s
[TRACE] 00:50:19.202 shell.go:GOOS() - 0s
[TRACE] 00:50:19.202 shell.go:GOOS() - 0s
[TRACE] 00:50:19.202 shell.go:GOOS() - 0s
[TRACE] 00:50:19.202 shell.go:GOOS() - 0s
[TRACE] 00:50:19.202 shell.go:GOOS() - 0s
[TRACE] 00:50:19.202 shell.go:PathSeparator() - 0s
[TRACE] 00:50:19.202 shell.go:PathSeparator() - 0s
[TRACE] 00:50:19.202 shell.go:GOOS() - 0s
[TRACE] 00:50:19.202 shell.go:GOOS() - 0s
[TRACE] 00:50:19.202 shell.go:GOOS() - 0s
[TRACE] 00:50:19.202 shell.go:PathSeparator() - 0s
[TRACE] 00:50:19.202 shell.go:GOOS() - 0s
[TRACE] 00:50:19.202 shell.go:GOOS() - 0s
[TRACE] 00:50:19.202 shell.go:GOOS() - 0s
[TRACE] 00:50:19.202 shell.go:PathSeparator() - 0s
[TRACE] 00:50:19.202 shell.go:GOOS() - 0s
[TRACE] 00:50:19.202 shell.go:GOOS() - 0s
[TRACE] 00:50:19.202 shell.go:GOOS() - 0s
[TRACE] 00:50:19.202 shell.go:PathSeparator() - 0s
[TRACE] 00:50:19.202 shell.go:Pwd() - 0s
[TRACE] 00:50:19.202 shell_windows.go:IsWsl() - 0s
[TRACE] 00:50:19.202 shell.go:StackCount() - 0s
[DEBUG] 00:50:19.203 win32_windows.go:isWriteable:299 → not current user or in group
[DEBUG] 00:50:19.203 win32_windows.go:isWriteable:303 → current user is member of S-1-5-32-544
[DEBUG] 00:50:19.203 win32_windows.go:isWriteable:311 ↓
    WRITE_DAC
    WRITE_OWNER
    SYNCHRONIZE
    DELETE
    READ_CONTROL
[DEBUG] 00:50:19.203 win32_windows.go:isWriteable:313 → user has write access
[TRACE] 00:50:19.203 shell_windows.go:DirIsWritable() - 616.4µs
[TRACE] 00:50:19.203 shell.go:TemplateCache() - 0s
[DEBUG] 00:50:19.204 shell.go:CommandPath:545 → C:\Program Files\Git\cmd\git.exe
[TRACE] 00:50:19.204 shell.go:CommandPath(git.exe) - 1.6541ms
[TRACE] 00:50:19.204 shell.go:HasCommand(git.exe) - 1.6541ms
[TRACE] 00:50:19.204 shell.go:Pwd() - 0s
[ERROR] 00:50:19.204 shell.go:HasParentFilePath:689 → CreateFile .git: The system cannot find the file specified.
[TRACE] 00:50:19.204 shell.go:HasParentFilePath(.git) - 553.7µs
[DEBUG] 00:50:19.204 properties.go:GetBool:22 → fetch_bare_info: false
[DEBUG] 00:50:19.204 text.go:Render:70 → Rendering template:  {{ if .SSHSession }} {{ end }}{{ .UserName }}
[DEBUG] 00:50:19.204 text.go:Render:70 → Rendering template:   {{ path .Path .Location }}
[DEBUG] 00:50:19.204 text.go:Render:70 → Rendering template:  
[TRACE] 00:50:19.204 shell.go:Shell() - 0s
[TRACE] 00:50:19.204 shell.go:TemplateCache() - 0s
[TRACE] 00:50:19.204 shell.go:TemplateCache() - 0s
[TRACE] 00:50:19.204 shell.go:Shell() - 0s
[TRACE] 00:50:19.204 shell.go:Shell() - 0s
[TRACE] 00:50:19.204 shell.go:TemplateCache() - 0s
[TRACE] 00:50:19.204 shell.go:Shell() - 0s
[DEBUG] 00:50:19.204 text.go:Render:70 → Rendering template: diamond
[DEBUG] 00:50:19.204 text.go:Render:70 → Rendering template: powerline
[DEBUG] 00:50:19.204 text.go:Render:70 → Rendering template: powerline
[DEBUG] 00:50:19.204 text.go:Render:70 → Rendering template: powerline
[DEBUG] 00:50:19.205 text.go:Render:70 → Rendering template: {{ if gt .Code 0 }}p:red{{ end }}
[TRACE] 00:50:19.205 shell.go:TemplateCache() - 0s
[DEBUG] 00:50:19.205 text.go:Render:70 → Rendering template: diamond
[TRACE] 00:50:19.205 shell.go:Shell() - 0s
[TRACE] 00:50:19.205 shell.go:Shell() - 0s
[TRACE] 00:50:19.205 shell.go:Shell() - 0s
[TRACE] 00:50:19.205 shell.go:Flags() - 0s
[TRACE] 00:50:19.205 shell.go:Flags() - 0s
[TRACE] 00:50:19.205 shell.go:Pwd() - 0s
[TRACE] 00:50:19.205 shell.go:Pwd() - 0s
[DEBUG] 00:50:19.205 shell_windows.go:58 → C:\Users\sharif
[TRACE] 00:50:19.205 shell.go:GOOS() - 0s
[DEBUG] 00:50:19.205 segment.go:SetEnabled:529 → Segment: Node
[DEBUG] 00:50:19.205 properties.go:GetStringArray:52 → extensions: [*.js *.ts package.json .nvmrc pnpm-workspace.yaml .pnpmfile.cjs .vue]
[DEBUG] 00:50:19.205 properties.go:GetStringArray:52 → folders: []
[DEBUG] 00:50:19.205 properties.go:GetBool:22 → home_enabled: false
[TRACE] 00:50:19.205 shell.go:Pwd() - 0s
[DEBUG] 00:50:19.205 shell_windows.go:58 → C:\Users\sharif
[DEBUG] 00:50:19.205 shell_windows.go:58 → C:\Users\sharif
[TRACE] 00:50:19.205 shell.go:Flags() - 0s
[TRACE] 00:50:19.205 shell.go:GOOS() - 0s
[TRACE] 00:50:19.205 shell.go:Flags() - 0s
[DEBUG] 00:50:19.205 segment.go:SetEnabled:529 → Segment: Time
[TRACE] 00:50:19.205 shell.go:Pwd() - 0s
[DEBUG] 00:50:19.205 shell_windows.go:58 → C:\Users\sharif
[TRACE] 00:50:19.205 shell.go:GOOS() - 0s
[DEBUG] 00:50:19.205 segment.go:SetEnabled:529 → Segment: Shell
[DEBUG] 00:50:19.205 properties.go:GetString:28 → 15:04:05
[TRACE] 00:50:19.205 shell.go:Flags() - 0s
[DEBUG] 00:50:19.205 properties.go:GetKeyValueMap:46 → mapped_shell_names: map[]
[TRACE] 00:50:19.205 shell.go:TemplateCache() - 0s
[TRACE] 00:50:19.205 shell.go:Shell() - 0s
[TRACE] 00:50:19.205 shell.go:Flags() - 0s
[DEBUG] 00:50:19.205 properties.go:GetString:28 → files
[TRACE] 00:50:19.205 shell.go:TemplateCache() - 0s
[TRACE] 00:50:19.205 shell.go:Pwd() - 0s
[TRACE] 00:50:19.205 shell.go:Pwd() - 0s
[DEBUG] 00:50:19.205 shell_windows.go:58 → C:\Users\sharif
[TRACE] 00:50:19.205 shell.go:GOOS() - 0s
[TRACE] 00:50:19.205 shell.go:GOOS() - 0s
[DEBUG] 00:50:19.205 segment.go:SetEnabled:529 → Segment: Python
[DEBUG] 00:50:19.205 segment.go:SetEnabled:529 → Segment: Go
[DEBUG] 00:50:19.205 properties.go:GetStringArray:52 → extensions: [*.py *.ipynb pyproject.toml venv.bak]
[DEBUG] 00:50:19.205 properties.go:GetStringArray:52 → extensions: [*.go go.mod]
[DEBUG] 00:50:19.205 properties.go:GetBool:22 → home_enabled: false
[DEBUG] 00:50:19.205 properties.go:GetStringArray:52 → folders: []
[TRACE] 00:50:19.205 shell.go:Pwd() - 0s
[DEBUG] 00:50:19.205 properties.go:GetBool:22 → home_enabled: false
[DEBUG] 00:50:19.205 shell_windows.go:58 → C:\Users\sharif
[TRACE] 00:50:19.205 shell.go:Pwd() - 0s
[DEBUG] 00:50:19.205 shell_windows.go:58 → C:\Users\sharif
[DEBUG] 00:50:19.205 text.go:Render:70 → Rendering template: at <p:blue><b>{{ .CurrentDate | date "15:04:05" }}</b></>
[DEBUG] 00:50:19.205 text.go:Render:70 → Rendering template: in <p:blue><b>{{ .Name }}</b></>
[TRACE] 00:50:19.206 shell.go:TemplateCache() - 0s
[TRACE] 00:50:19.206 shell.go:Shell() - 0s
[TRACE] 00:50:19.206 shell.go:Shell() - 0s
[DEBUG] 00:50:19.206 text.go:Render:70 → Rendering template: plain
[DEBUG] 00:50:19.206 text.go:Render:70 → Rendering template: plain
[DEBUG] 00:50:19.206 text.go:Render:70 → Rendering template: plain
[DEBUG] 00:50:19.206 text.go:Render:70 → Rendering template: plain
[DEBUG] 00:50:19.206 text.go:Render:70 → Rendering template: plain
[TRACE] 00:50:19.206 shell.go:Shell() - 0s
[TRACE] 00:50:19.206 shell.go:Flags() - 0s
[TRACE] 00:50:19.206 shell.go:Shell() - 0s
[TRACE] 00:50:19.206 shell.go:Shell() - 0s
[DEBUG] 00:50:19.206 shell_windows.go:TerminalWidth:111 → terminal width: 120
[TRACE] 00:50:19.206 shell_windows.go:TerminalWidth() - 0s
[DEBUG] 00:50:19.206 shell.go:Getenv:325 → C:\Users\sharif\AppData\Local
[TRACE] 00:50:19.206 shell.go:Getenv(LOCALAPPDATA) - 0s
[TRACE] 00:50:19.206 shell_windows.go:CachePath() - 0s
[TRACE] 00:50:19.206 shell.go:Flags() - 0s
sharif221 commented 6 months ago

its not the oh-my-posh fault i think

its a rendering problem in terminal app windows

but I don't know why it renders like this

JanDeDobbeleer commented 6 months ago

@sharif221 this is indeed a terminal issue. You can try a different renderer, or ask a question to the terminal team.

sharif221 commented 6 months ago

@JanDeDobbeleer yes I Know it is a terminal issues, do you know where should i look for solution, for example it is a font problem, utf-8 or others?

JanDeDobbeleer commented 6 months ago

The only thing you can do is tweak the font settings a bit or try a different renderer.

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.