JanDeDobbeleer / oh-my-posh

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

Segment triangle not transparent #2844

Closed Igo-Cigo closed 2 years ago

Igo-Cigo commented 2 years ago

Code of Conduct

What happened?

The triangle at the start of a segment should be transparent but it's black https://postimg.cc/kRGPpdkx

Theme

https://github.com/JanDeDobbeleer/oh-my-posh/blob/main/themes/tonybaloney.omp.json

What OS are you seeing the problem on?

Windows

Which shell are you using?

powershell

Log output

2022/09/27 18:43:35 debug: Getenv
C:\Users\Goran\AppData\Local
2022/09/27 18:43:35 Getenv duration: 0s, args: LOCALAPPDATA
2022/09/27 18:43:35 CachePath duration: 0s, args:
2022/09/27 18:43:35 debug: Getenv
C:\prompt\tonybaloney.json
2022/09/27 18:43:35 Getenv duration: 0s, args: POSH_THEME
2022/09/27 18:43:35 debug: Shell
process name: pwsh.exe
2022/09/27 18:43:35 Shell duration: 5.7822ms, args:
2022/09/27 18:43:35 resolveConfigPath duration: 5.7822ms, args:
2022/09/27 18:43:35 Init duration: 7.8864ms, args:
2022/09/27 18:43:35 Flags duration: 0s, args:
2022/09/27 18:43:35 config.loadConfig duration: 529.8µs, args:
2022/09/27 18:43:35 Flags duration: 0s, args:
2022/09/27 18:43:35 debug: Getenv

2022/09/27 18:43:35 Getenv duration: 0s, args: OMP_CACHE_DISABLED
2022/09/27 18:43:35 WindowsRegistryKeyValue duration: 0s, args: HKEY_CURRENT_USER\Software\Microsoft\Windows\DWM\ColorizationColor
2022/09/27 18:43:35 GOOS duration: 0s, args:
2022/09/27 18:43:35 GOOS duration: 0s, args:
2022/09/27 18:43:35 GOOS duration: 0s, args:
2022/09/27 18:43:35 GOOS duration: 0s, args:
2022/09/27 18:43:35 GOOS duration: 0s, args:
2022/09/27 18:43:35 GOOS duration: 0s, args:
2022/09/27 18:43:35 GOOS duration: 0s, args:
2022/09/27 18:43:35 GOOS duration: 0s, args:
2022/09/27 18:43:35 GOOS duration: 0s, args:
2022/09/27 18:43:35 GOOS duration: 0s, args:
2022/09/27 18:43:35 GOOS duration: 0s, args:
2022/09/27 18:43:35 GOOS duration: 0s, args:
2022/09/27 18:43:35 GOOS duration: 0s, args:
2022/09/27 18:43:35 GOOS duration: 0s, args:
2022/09/27 18:43:35 GOOS duration: 0s, args:
2022/09/27 18:43:35 GOOS duration: 0s, args:
2022/09/27 18:43:35 GOOS duration: 0s, args:
2022/09/27 18:43:35 GOOS duration: 0s, args:
2022/09/27 18:43:35 GOOS duration: 0s, args:
2022/09/27 18:43:35 debug: WindowsRegistryKeyValue
ColorizationColor(DWORD): 0xC40078D7
2022/09/27 18:43:35 Root duration: 0s, args:
2022/09/27 18:43:35 Shell duration: 0s, args:
2022/09/27 18:43:35 ErrorCode duration: 0s, args:
2022/09/27 18:43:35 IsWsl duration: 0s, args:
2022/09/27 18:43:35 debug: Pwd
C:\github
2022/09/27 18:43:35 Pwd duration: 0s, args:
2022/09/27 18:43:35 debug: Home
C:\Users\Goran
2022/09/27 18:43:35 GOOS duration: 0s, args:
2022/09/27 18:43:35 GOOS duration: 0s, args:
2022/09/27 18:43:35 GOOS duration: 0s, args:
2022/09/27 18:43:35 GOOS duration: 0s, args:
2022/09/27 18:43:35 GOOS duration: 0s, args:
2022/09/27 18:43:35 GOOS duration: 0s, args:
2022/09/27 18:43:35 GOOS duration: 0s, args:
2022/09/27 18:43:35 GOOS duration: 0s, args:
2022/09/27 18:43:35 debug: User
Goran
2022/09/27 18:43:35 User duration: 0s, args:
2022/09/27 18:43:35 debug: Host
DESKTOP-6IICD1G
2022/09/27 18:43:35 Host duration: 0s, args:
2022/09/27 18:43:35 GOOS duration: 0s, args:
2022/09/27 18:43:35 TemplateCache duration: 522.4µs, args:
2022/09/27 18:43:35 Flags duration: 0s, args:
2022/09/27 18:43:35 debug: Pwd
C:\github
2022/09/27 18:43:35 Pwd duration: 0s, args:
2022/09/27 18:43:35 debug: Home
C:\Users\Goran
2022/09/27 18:43:35 GOOS duration: 0s, args:
2022/09/27 18:43:35 debug: Pwd
C:\github
2022/09/27 18:43:35 Pwd duration: 0s, args:
2022/09/27 18:43:35 Flags duration: 0s, args:
2022/09/27 18:43:35 debug: Pwd
C:\github
2022/09/27 18:43:35 Pwd duration: 0s, args:
2022/09/27 18:43:35 GOOS duration: 0s, args:
2022/09/27 18:43:35 GOOS duration: 0s, args:
2022/09/27 18:43:35 debug: Home
C:\Users\Goran
2022/09/27 18:43:35 GOOS duration: 0s, args:
2022/09/27 18:43:35 GOOS duration: 0s, args:
2022/09/27 18:43:35 GOOS duration: 0s, args:
2022/09/27 18:43:35 GOOS duration: 0s, args:
2022/09/27 18:43:35 GOOS duration: 0s, args:
2022/09/27 18:43:35 GOOS duration: 0s, args:
2022/09/27 18:43:35 GOOS duration: 0s, args:
2022/09/27 18:43:35 GOOS duration: 0s, args:
2022/09/27 18:43:35 GOOS duration: 0s, args:
2022/09/27 18:43:35 GOOS duration: 0s, args:
2022/09/27 18:43:35 PathSeparator duration: 0s, args:
2022/09/27 18:43:35 PathSeparator duration: 0s, args:
2022/09/27 18:43:35 GOOS duration: 0s, args:
2022/09/27 18:43:35 IsWsl duration: 0s, args:
2022/09/27 18:43:35 StackCount duration: 0s, args:
2022/09/27 18:43:35 DirIsWritable duration: 0s, args:
2022/09/27 18:43:35 TemplateCache duration: 0s, args:
2022/09/27 18:43:35 TemplateCache duration: 0s, args:
2022/09/27 18:43:35 Shell duration: 0s, args:
2022/09/27 18:43:35 debug: Pwd
C:\github
2022/09/27 18:43:35 Pwd duration: 0s, args:
2022/09/27 18:43:35 debug: Home
C:\Users\Goran
2022/09/27 18:43:35 GOOS duration: 0s, args:
2022/09/27 18:43:35 GOOS duration: 0s, args:
2022/09/27 18:43:35 debug: CommandPath
C:\Program Files\Git\cmd\git.exe
2022/09/27 18:43:35 CommandPath duration: 5.2593ms, args: git.exe
2022/09/27 18:43:35 HasCommand duration: 5.2593ms, args: git.exe
2022/09/27 18:43:35 debug: Pwd
C:\github
2022/09/27 18:43:35 Pwd duration: 0s, args:
2022/09/27 18:43:35 error: HasParentFilePath
CreateFile C:\.git: The system cannot find the file specified.
2022/09/27 18:43:35 HasParentFilePath duration: 0s, args: .git
2022/09/27 18:43:35 debug: Pwd
C:\github
2022/09/27 18:43:35 Pwd duration: 0s, args:
2022/09/27 18:43:35 debug: Home
C:\Users\Goran
2022/09/27 18:43:35 GOOS duration: 0s, args:
2022/09/27 18:43:35 debug: Pwd
C:\github
2022/09/27 18:43:35 Pwd duration: 0s, args:
2022/09/27 18:43:35 debug: Home
C:\Users\Goran
2022/09/27 18:43:35 debug: Getenv

2022/09/27 18:43:35 Getenv duration: 0s, args: VIRTUAL_ENV
2022/09/27 18:43:35 debug: Getenv

2022/09/27 18:43:35 Getenv duration: 0s, args: CONDA_ENV_PATH
2022/09/27 18:43:35 debug: Getenv

2022/09/27 18:43:35 Getenv duration: 0s, args: CONDA_DEFAULT_ENV
2022/09/27 18:43:35 debug: Pwd
C:\github
2022/09/27 18:43:35 Pwd duration: 0s, args:
2022/09/27 18:43:35 debug: Home
C:\Users\Goran
2022/09/27 18:43:35 GOOS duration: 0s, args:
2022/09/27 18:43:35 Root duration: 0s, args:
2022/09/27 18:43:35 TemplateCache duration: 0s, args:
2022/09/27 18:43:35 TemplateCache duration: 0s, args:
2022/09/27 18:43:35 Shell duration: 0s, args:
2022/09/27 18:43:35 debug: Getenv
C:\Users\Goran\AppData\Local
2022/09/27 18:43:35 Getenv duration: 0s, args: LOCALAPPDATA
2022/09/27 18:43:35 CachePath duration: 0s, args:
2022/09/27 18:43:35 Flags duration: 0s, args:
JanDeDobbeleer commented 2 years ago

@Igo-Cigo FYI, that's a Windows Terminal issue (which I thought they fixed in one of the latest releases).

akring commented 1 year ago

Same problem here on macOS 😂

Terminal: Hyper / iTerm Font: Any nerd font Theme: JanDeDobbeleer

Related code:

        {
          "background": "#ff479c",
          "foreground": "#ffffff",
          "powerline_symbol": "\ue0b0",
          "properties": {
            "folder_separator_icon": " \ue0b1 ",
            "home_icon": "~",
            "style": "folder"
          },
          "style": "powerline",
          "template": " \uf114 {{ .Path }} ",
          "type": "path"
        },
CleanShot 2023-05-06 at 10 29 33@2x
JanDeDobbeleer commented 1 year ago

@akring that's only possible if you changed a setting I'm not aware off as by default they both support transparent (inverted) ANSI.

akring commented 1 year ago

OK, I will find it out, thank you!

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