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

Using "terminal_background": "transparent" breaks rendering #3925

Closed mu88 closed 1 year ago

mu88 commented 1 year ago

Code of Conduct

What happened?

This is what it looks like with my current config:
image

Please notice the tiny little black parts between source and 0ms resp. pwsh and the current time.

To get rid of them, I tried "terminal_background": "transparent", which looks like this:
image

The config parameter "terminal_background" seems to be the correct one for my needs, because when using "terminal_background": "#2e9599", it looks like this:
image

Theme

{
  "$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
  "blocks": [
    {
      "alignment": "left",
      "horizontal_offset": 0,
      "vertical_offset": 0,
      "segments": [
        {
          "background": "#c17e1a",
          "foreground": "#ffffff",
          "powerline_symbol": "",
          "invert_powerline": false,
          "properties": {
              "prefix": "",
              "style": "folder"
          },
          "style": "diamond",
          "leading_diamond": "",
          "trailing_diamond": "",
          "template": " \uea83  {{ .Path }} ",
          "type": "path"
        },
        {
          "background": "#fffb38",
          "background_templates": [
            "{{ if or (.Working.Changed) (.Staging.Changed) }}#FF9248{{ end }}",
            "{{ if and (gt .Ahead 0) (gt .Behind 0) }}#ff4500{{ end }}",
            "{{ if gt .Ahead 0 }}#B388FF{{ end }}",
            "{{ if gt .Behind 0 }}#B388FF{{ end }}"
          ],
          "foreground": "#193549",
          "powerline_symbol": "",
          "invert_powerline": false,
          "properties": {
            "branch_max_length": 25,
            "fetch_status": true,
            "fetch_upstream_icon": true
          },
          "style": "powerline",
          "template": " {{ .UpstreamIcon }}{{ .HEAD }}{{if .BranchStatus }} {{ .BranchStatus }}{{ end }}{{ if .Working.Changed }} \uf044 {{ .Working.String }}{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Staging.Changed }} \uf046 {{ .Staging.String }}{{ end }}{{ if gt .StashCount 0 }} \ueb4b {{ .StashCount }}{{ end }} ",
          "leading_diamond": "",
          "trailing_diamond": "",
          "type": "git"
        },
        {
          "type": "dotnet",
          "style": "powerline",
          "powerline_symbol": "",
          "invert_powerline": false,
          "foreground": "#ffffff",
          "background": "#6CA35E",
          "template": "  {{ .Full }} "
        },
        {
          "type": "root",
          "style": "powerline",
          "powerline_symbol": "",
          "invert_powerline": false,
          "foreground": "#ffffff",
          "background": "#ffff66",
          "leading_diamond": "",
          "trailing_diamond": "",
          "properties": null
        },
        {
          "background": "#6CA35E",
          "foreground": "#ffffff",
          "powerline_symbol": "\ue0b0",
          "properties": {
            "fetch_version": true
          },
          "style": "powerline",
          "template": " \ue718 {{ if .PackageManagerIcon }}{{ .PackageManagerIcon }} {{ end }}{{ .Full }} ",
          "type": "node"
        },
        {
          "background": "#8ED1F7",
          "foreground": "#111111",
          "powerline_symbol": "\ue0b0",
          "properties": {
            "fetch_version": true
          },
          "style": "powerline",
          "template": " \ue626 {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} ",
          "type": "go"
        },
        {
          "background": "#4063D8",
          "foreground": "#111111",
          "powerline_symbol": "\ue0b0",
          "properties": {
            "fetch_version": true
          },
          "style": "powerline",
          "template": " \ue624 {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} ",
          "type": "julia"
        },
        {
          "background": "#FFDE57",
          "foreground": "#111111",
          "powerline_symbol": "\ue0b0",
          "properties": {
            "display_mode": "files",
            "fetch_virtual_env": false
          },
          "style": "powerline",
          "template": " \ue235 {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} ",
          "type": "python"
        },
        {
          "background": "#AE1401",
          "foreground": "#ffffff",
          "powerline_symbol": "\ue0b0",
          "properties": {
            "display_mode": "files",
            "fetch_version": true
          },
          "style": "powerline",
          "template": " \ue791 {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} ",
          "type": "ruby"
        },
        {
          "background": "#FEAC19",
          "foreground": "#ffffff",
          "powerline_symbol": "\ue0b0",
          "properties": {
            "display_mode": "files",
            "fetch_version": false
          },
          "style": "powerline",
          "template": " \uf0e7{{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} ",
          "type": "azfunc"
        },
        {
          "background_templates": [
            "{{if contains \"default\" .Profile}}#FFA400{{end}}",
            "{{if contains \"jan\" .Profile}}#f1184c{{end}}"
          ],
          "foreground": "#ffffff",
          "powerline_symbol": "\ue0b0",
          "properties": {
            "display_default": false
          },
          "style": "powerline",
          "template": " \ue7ad {{ .Profile }}{{ if .Region }}@{{ .Region }}{{ end }} ",
          "type": "aws"
        },
        {
          "background": "#ffff66",
          "foreground": "#111111",
          "powerline_symbol": "\ue0b0",
          "style": "powerline",
          "template": " \uf0ad ",
          "type": "root"
        },
        {
          "background": "#83769c",
          "foreground": "#ffffff",
          "properties": {
            "always_enabled": true
          },
          "style": "plain",
          "template": "<transparent>\ue0b0</> \ueba2{{ .FormattedMs }}\u2800",
          "type": "executiontime"
        },
        {
          "background": "#00897b",
          "background_templates": [
            "{{ if gt .Code 0 }}#e91e63{{ end }}"
          ],
          "foreground": "#ffffff",
          "properties": {
            "always_enabled": true
          },
          "style": "diamond",
          "template": "<parentBackground>\ue0b0</> \ue23a ",
          "trailing_diamond": "\ue0b4",
          "type": "exit"
        }
      ],
      "type": "prompt"
    },
    {
      "segments": [
        {
          "background": "#0077c2",
          "foreground": "#ffffff",
          "style": "plain",
          "template": "<#0077c2,transparent>\ue0b6</> \uf489 {{ .Name }} <transparent,#0077c2>\ue0b2</>",
          "type": "shell"
        },
        {
          "background": "#1BD760",
          "foreground": "#111111",
          "invert_powerline": true,
          "powerline_symbol": "\ue0b2",
          "properties": {
            "paused_icon": "\uf04c ",
            "playing_icon": "\uf04b "
          },
          "style": "powerline",
          "template": " \uf167 {{ .Icon }}{{ if ne .Status \"stopped\" }}{{ .Artist }} - {{ .Track }}{{ end }} ",
          "type": "ytm"
        },
        {
          "background": "#2e9599",
          "foreground": "#111111",
          "invert_powerline": true,
          "leading_diamond": "\ue0b2",
          "style": "diamond",
          "template": " {{ .CurrentDate | date .Format }} ",
          "trailing_diamond": "\ue0b4",
          "type": "time"
        }
      ],
      "type": "rprompt"
    }
  ],
  "console_title_style": "folder",
  "final_space": true,
  "terminal_background": "transparent",
  "version": 2
}

What OS are you seeing the problem on?

Windows

Which shell are you using?

powershell

Log output

Version: 16.4.2

Shell: pwsh (7.3.4)

Segments:

ConsoleTitle(false)                        -   0 ms - 
path(true)                                 -   4 ms - ¯é ¯¬â  source 
git(false)                                 -  20 ms - 
dotnet(false)                              -   1 ms - 
root(false)                                -   0 ms - 
node(false)                                -   0 ms - 
go(false)                                  -   0 ms - 
julia(false)                               -   0 ms - 
python(false)                              -   0 ms - 
ruby(false)                                -   0 ms - 
azfunc(false)                              -   0 ms - 
aws(false)                                 -   0 ms - 
root(false)                                -   0 ms - 
executiontime(true)                        -   0 ms - ¯é░¯é░ ¯«ó0msÔáÇ
exit(true)                                 -   0 ms - ¯é░ ¯ê║ 
shell(true)                                -   0 ms - ¯é ´Æë pwsh ¯é▓
ytm(false)                                 -  25 ms - 
time(true)                                 -   1 ms - ¯é▓ 10:38:51 

Run duration: 66.9801ms

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

Config path: C:\Users\<<MY_USER>>\Documents\Development\OhMyPosh.json

Logs:

[DEBUG] 10:38:51.518 shell.go:Getenv:395  NO DATA
[TRACE] 10:38:51.518 shell.go:Getenv(TERM_PROGRAM) - 0s
[DEBUG] 10:38:51.518 shell.go:Getenv:395  C:\Users\<<MY_USER>>\AppData\Local
[TRACE] 10:38:51.518 shell.go:Getenv(LOCALAPPDATA) - 0s
[TRACE] 10:38:51.519 shell_windows.go:CachePath() - 515.9┬Ás
[DEBUG] 10:38:51.519 shell.go:Getenv:395  C:\Users\<<MY_USER>>\Documents\Development\OhMyPosh.json
[TRACE] 10:38:51.519 shell.go:Getenv(POSH_THEME) - 0s
[DEBUG] 10:38:51.529 shell.go:Shell:642  process name: pwsh.exe
[TRACE] 10:38:51.529 shell.go:Shell() - 9.8329ms
[TRACE] 10:38:51.529 shell.go:resolveConfigPath() - 9.8329ms
[TRACE] 10:38:51.529 shell.go:Init() - 10.3488ms
[TRACE] 10:38:51.529 shell.go:Flags() - 0s
[TRACE] 10:38:51.530 config.go:loadConfig() - 962.8┬Ás
[TRACE] 10:38:51.530 shell.go:Flags() - 0s
[DEBUG] 10:38:51.530 shell.go:Getenv:395  NO DATA
[TRACE] 10:38:51.530 shell.go:Getenv(OMP_CACHE_DISABLED) - 0s
[TRACE] 10:38:51.530 shell_windows.go:WindowsRegistryKeyValue(HKEY_CURRENT_USER\Software\Microsoft\Windows\DWM\ColorizationColor) - 0s
[TRACE] 10:38:51.530 shell.go:GOOS() - 0s
[TRACE] 10:38:51.530 shell.go:GOOS() - 0s
[TRACE] 10:38:51.530 shell.go:GOOS() - 0s
[TRACE] 10:38:51.530 shell.go:GOOS() - 0s
[TRACE] 10:38:51.530 shell.go:GOOS() - 0s
[TRACE] 10:38:51.530 shell.go:GOOS() - 0s
[TRACE] 10:38:51.530 shell.go:GOOS() - 0s
[TRACE] 10:38:51.530 shell.go:GOOS() - 0s
[TRACE] 10:38:51.530 shell.go:GOOS() - 0s
[TRACE] 10:38:51.530 shell.go:GOOS() - 0s
[TRACE] 10:38:51.530 shell.go:GOOS() - 0s
[TRACE] 10:38:51.530 shell.go:GOOS() - 0s
[TRACE] 10:38:51.530 shell.go:GOOS() - 0s
[TRACE] 10:38:51.530 shell.go:GOOS() - 0s
[TRACE] 10:38:51.530 shell.go:GOOS() - 0s
[TRACE] 10:38:51.530 shell.go:GOOS() - 0s
[TRACE] 10:38:51.530 shell.go:GOOS() - 0s
[TRACE] 10:38:51.530 shell.go:GOOS() - 0s
[TRACE] 10:38:51.530 shell.go:GOOS() - 0s
[DEBUG] 10:38:51.530 shell_windows.go:WindowsRegistryKeyValue:206  ColorizationColor(DWORD): 0xC40078D7
[TRACE] 10:38:51.530 shell.go:Shell() - 0s
[DEBUG] 10:38:51.530 shell.go:Getenv:395  7.3.4
[TRACE] 10:38:51.530 shell.go:Getenv(POSH_SHELL_VERSION) - 0s
[DEBUG] 10:38:51.530 debug.go:PrintDebug:22  Segment: Title
[TRACE] 10:38:51.530 shell.go:Flags() - 0s
[DEBUG] 10:38:51.530 block.go:Debug:280  Segment: path
[TRACE] 10:38:51.530 shell.go:GOOS() - 0s
[DEBUG] 10:38:51.530 shell.go:Pwd:425  C:\source
[TRACE] 10:38:51.530 shell.go:Pwd() - 0s
[DEBUG] 10:38:51.530 shell_windows.go:56  C:\Users\<<MY_USER>>
[TRACE] 10:38:51.530 shell.go:GOOS() - 0s
[TRACE] 10:38:51.530 shell.go:Pwd() - 0s
[TRACE] 10:38:51.530 shell.go:Shell() - 0s
[TRACE] 10:38:51.530 shell.go:Flags() - 0s
[DEBUG] 10:38:51.530 properties.go:GetBool:22  mapped_locations_enabled: true
[DEBUG] 10:38:51.530 properties.go:GetString:28 ÔåÆ ´Çô
[DEBUG] 10:38:51.530 properties.go:GetString:28 ÔåÆ ´Çô
[DEBUG] 10:38:51.530 shell_windows.go:56  C:\Users\<<MY_USER>>
[TRACE] 10:38:51.530 shell.go:GOOS() - 0s
[TRACE] 10:38:51.530 shell.go:GOOS() - 0s
[DEBUG] 10:38:51.530 properties.go:GetString:28  ~
[DEBUG] 10:38:51.530 properties.go:GetKeyValueMap:46  mapped_locations: map[]
[TRACE] 10:38:51.530 shell.go:PathSeparator() - 0s
[TRACE] 10:38:51.530 shell.go:GOOS() - 0s
[TRACE] 10:38:51.530 shell.go:GOOS() - 0s
[TRACE] 10:38:51.531 shell.go:GOOS() - 0s
[TRACE] 10:38:51.531 shell.go:GOOS() - 0s
[TRACE] 10:38:51.531 shell.go:GOOS() - 0s
[TRACE] 10:38:51.531 shell.go:GOOS() - 0s
[TRACE] 10:38:51.531 shell.go:GOOS() - 0s
[TRACE] 10:38:51.531 shell.go:PathSeparator() - 0s
[TRACE] 10:38:51.531 shell.go:PathSeparator() - 0s
[TRACE] 10:38:51.531 shell.go:GOOS() - 0s
[TRACE] 10:38:51.531 shell.go:GOOS() - 0s
[TRACE] 10:38:51.531 shell.go:GOOS() - 0s
[TRACE] 10:38:51.531 shell.go:PathSeparator() - 0s
[TRACE] 10:38:51.531 shell.go:GOOS() - 0s
[TRACE] 10:38:51.531 shell.go:GOOS() - 0s
[TRACE] 10:38:51.531 shell.go:GOOS() - 0s
[TRACE] 10:38:51.531 shell.go:PathSeparator() - 0s
[TRACE] 10:38:51.531 shell.go:GOOS() - 0s
[TRACE] 10:38:51.531 shell.go:GOOS() - 0s
[TRACE] 10:38:51.531 shell.go:GOOS() - 0s
[TRACE] 10:38:51.531 shell.go:PathSeparator() - 0s
[DEBUG] 10:38:51.531 properties.go:GetString:28  folder
[TRACE] 10:38:51.531 shell.go:GOOS() - 0s
[TRACE] 10:38:51.531 shell.go:GOOS() - 0s
[TRACE] 10:38:51.531 shell.go:GOOS() - 0s
[TRACE] 10:38:51.531 shell.go:GOOS() - 0s
[TRACE] 10:38:51.531 shell.go:GOOS() - 0s
[TRACE] 10:38:51.531 shell.go:GOOS() - 0s
[TRACE] 10:38:51.531 shell.go:GOOS() - 0s
[TRACE] 10:38:51.531 shell.go:GOOS() - 0s
[TRACE] 10:38:51.531 shell.go:PathSeparator() - 0s
[DEBUG] 10:38:51.531 properties.go:GetString:28  NO DATA
[TRACE] 10:38:51.531 shell.go:PathSeparator() - 0s
[DEBUG] 10:38:51.531 properties.go:GetString:28  \
[TRACE] 10:38:51.531 shell.go:Pwd() - 0s
[TRACE] 10:38:51.531 shell_windows.go:IsWsl() - 0s
[TRACE] 10:38:51.531 shell.go:StackCount() - 0s
[DEBUG] 10:38:51.531 win32_windows.go:isWriteable:303  current user is member of <<SID>>
[DEBUG] 10:38:51.531 win32_windows.go:isWriteable:311 Ôåô
    WRITE_DAC
    WRITE_OWNER
    SYNCHRONIZE
    DELETE
    READ_CONTROL
[DEBUG] 10:38:51.531 win32_windows.go:isWriteable:313  user has write access
[TRACE] 10:38:51.531 shell_windows.go:DirIsWritable() - 0s
[TRACE] 10:38:51.531 shell_windows.go:Root() - 0s
[TRACE] 10:38:51.531 shell.go:Shell() - 0s
[TRACE] 10:38:51.531 shell.go:ErrorCode() - 0s
[TRACE] 10:38:51.531 shell_windows.go:IsWsl() - 0s
[TRACE] 10:38:51.533 shell.go:Pwd() - 0s
[DEBUG] 10:38:51.533 shell_windows.go:56  C:\Users\<<MY_USER>>
[TRACE] 10:38:51.533 shell.go:GOOS() - 0s
[TRACE] 10:38:51.533 shell.go:GOOS() - 0s
[TRACE] 10:38:51.533 shell.go:GOOS() - 0s
[TRACE] 10:38:51.533 shell.go:GOOS() - 0s
[TRACE] 10:38:51.533 shell.go:GOOS() - 0s
[TRACE] 10:38:51.533 shell.go:GOOS() - 0s
[TRACE] 10:38:51.533 shell.go:GOOS() - 0s
[TRACE] 10:38:51.533 shell.go:GOOS() - 0s
[TRACE] 10:38:51.533 shell.go:GOOS() - 0s
[DEBUG] 10:38:51.533 shell.go:User:546  <<MY_USER>>
[TRACE] 10:38:51.533 shell.go:User() - 0s
[DEBUG] 10:38:51.533 shell.go:Host:558  w00o03
[TRACE] 10:38:51.533 shell.go:Host() - 0s
[TRACE] 10:38:51.533 shell.go:GOOS() - 0s
[DEBUG] 10:38:51.533 shell.go:Getenv:395  NO DATA
[TRACE] 10:38:51.533 shell.go:Getenv(SHLVL) - 0s
[TRACE] 10:38:51.533 shell.go:TemplateCache() - 2.3543ms
[TRACE] 10:38:51.534 shell.go:TemplateCache() - 0s
[TRACE] 10:38:51.534 shell.go:Shell() - 0s
[DEBUG] 10:38:51.534 block.go:Debug:280  Segment: git
[TRACE] 10:38:51.534 shell.go:Pwd() - 0s
[DEBUG] 10:38:51.534 shell_windows.go:56  C:\Users\<<MY_USER>>
[TRACE] 10:38:51.534 shell.go:GOOS() - 0s
[TRACE] 10:38:51.534 shell.go:GOOS() - 0s
[DEBUG] 10:38:51.554 shell.go:CommandPath:597  C:\Program Files\Git\cmd\git.exe
[TRACE] 10:38:51.554 shell.go:CommandPath(git.exe) - 20.5408ms
[TRACE] 10:38:51.554 shell.go:HasCommand(git.exe) - 20.5408ms
[TRACE] 10:38:51.554 shell.go:Pwd() - 0s
[ERROR] 10:38:51.554 shell.go:HasParentFilePath:730  CreateFile .git: The system cannot find the file specified.
[TRACE] 10:38:51.554 shell.go:HasParentFilePath(.git) - 42┬Ás
[DEBUG] 10:38:51.554 properties.go:GetBool:22  fetch_bare_info: false
[DEBUG] 10:38:51.554 block.go:Debug:280  Segment: dotnet
[TRACE] 10:38:51.554 shell.go:Pwd() - 0s
[DEBUG] 10:38:51.554 shell_windows.go:56  C:\Users\<<MY_USER>>
[TRACE] 10:38:51.554 shell.go:GOOS() - 0s
[DEBUG] 10:38:51.554 properties.go:GetStringArray:52  extensions: [*.cs *.csx *.vb *.sln *.slnf *.csproj *.vbproj *.fs *.fsx *.fsproj global.json]
[DEBUG] 10:38:51.554 properties.go:GetStringArray:52  folders: []
[DEBUG] 10:38:51.554 properties.go:GetBool:22  home_enabled: false
[TRACE] 10:38:51.554 shell.go:Pwd() - 0s
[DEBUG] 10:38:51.554 shell_windows.go:56  C:\Users\<<MY_USER>>
[DEBUG] 10:38:51.554 properties.go:GetString:28  files
[TRACE] 10:38:51.554 shell.go:Pwd() - 0s
[DEBUG] 10:38:51.555 shell.go:HasFiles:447  false
[TRACE] 10:38:51.555 shell.go:HasFiles(*.cs) - 504.6┬Ás
[TRACE] 10:38:51.555 shell.go:Pwd() - 0s
[DEBUG] 10:38:51.555 shell.go:HasFiles:447  false
[TRACE] 10:38:51.555 shell.go:HasFiles(*.csx) - 78.3┬Ás
[TRACE] 10:38:51.555 shell.go:Pwd() - 0s
[DEBUG] 10:38:51.555 shell.go:HasFiles:447  false
[TRACE] 10:38:51.555 shell.go:HasFiles(*.vb) - 123.7┬Ás
[TRACE] 10:38:51.555 shell.go:Pwd() - 0s
[DEBUG] 10:38:51.555 shell.go:HasFiles:447  false
[TRACE] 10:38:51.555 shell.go:HasFiles(*.sln) - 0s
[TRACE] 10:38:51.555 shell.go:Pwd() - 0s
[DEBUG] 10:38:51.555 shell.go:HasFiles:447  false
[TRACE] 10:38:51.555 shell.go:HasFiles(*.slnf) - 0s
[TRACE] 10:38:51.555 shell.go:Pwd() - 0s
[DEBUG] 10:38:51.555 shell.go:HasFiles:447  false
[TRACE] 10:38:51.555 shell.go:HasFiles(*.csproj) - 0s
[TRACE] 10:38:51.555 shell.go:Pwd() - 0s
[DEBUG] 10:38:51.556 shell.go:HasFiles:447  false
[TRACE] 10:38:51.556 shell.go:HasFiles(*.vbproj) - 504.2┬Ás
[TRACE] 10:38:51.556 shell.go:Pwd() - 0s
[DEBUG] 10:38:51.556 shell.go:HasFiles:447  false
[TRACE] 10:38:51.556 shell.go:HasFiles(*.fs) - 121.6┬Ás
[TRACE] 10:38:51.556 shell.go:Pwd() - 0s
[DEBUG] 10:38:51.556 shell.go:HasFiles:447  false
[TRACE] 10:38:51.556 shell.go:HasFiles(*.fsx) - 0s
[TRACE] 10:38:51.556 shell.go:Pwd() - 0s
[DEBUG] 10:38:51.556 shell.go:HasFiles:447  false
[TRACE] 10:38:51.556 shell.go:HasFiles(*.fsproj) - 0s
[TRACE] 10:38:51.556 shell.go:Pwd() - 0s
[DEBUG] 10:38:51.556 shell.go:HasFiles:447  false
[TRACE] 10:38:51.556 shell.go:HasFiles(global.json) - 0s
[DEBUG] 10:38:51.556 block.go:Debug:280  Segment: root
[TRACE] 10:38:51.556 shell.go:Pwd() - 0s
[DEBUG] 10:38:51.556 shell_windows.go:56  C:\Users\<<MY_USER>>
[TRACE] 10:38:51.556 shell.go:GOOS() - 0s
[TRACE] 10:38:51.556 shell_windows.go:Root() - 0s
[DEBUG] 10:38:51.556 block.go:Debug:280  Segment: node
[TRACE] 10:38:51.556 shell.go:Pwd() - 0s
[DEBUG] 10:38:51.556 shell_windows.go:56  C:\Users\<<MY_USER>>
[TRACE] 10:38:51.556 shell.go:GOOS() - 0s
[DEBUG] 10:38:51.556 properties.go:GetStringArray:52  extensions: [*.js *.ts package.json .nvmrc pnpm-workspace.yaml .pnpmfile.cjs .npmrc .vue]
[DEBUG] 10:38:51.556 properties.go:GetStringArray:52  folders: []
[DEBUG] 10:38:51.556 properties.go:GetBool:22  home_enabled: false
[TRACE] 10:38:51.556 shell.go:Pwd() - 0s
[DEBUG] 10:38:51.556 shell_windows.go:56  C:\Users\<<MY_USER>>
[DEBUG] 10:38:51.556 properties.go:GetString:28  files
[DEBUG] 10:38:51.556 properties.go:GetBool:22  fetch_package_manager: false
[TRACE] 10:38:51.556 shell.go:Pwd() - 0s
[DEBUG] 10:38:51.556 shell.go:HasFiles:447  false
[TRACE] 10:38:51.556 shell.go:HasFiles(*.js) - 504.1┬Ás
[TRACE] 10:38:51.556 shell.go:Pwd() - 0s
[DEBUG] 10:38:51.556 shell.go:HasFiles:447  false
[TRACE] 10:38:51.556 shell.go:HasFiles(*.ts) - 156.9┬Ás
[TRACE] 10:38:51.556 shell.go:Pwd() - 0s
[DEBUG] 10:38:51.557 shell.go:HasFiles:447  false
[TRACE] 10:38:51.557 shell.go:HasFiles(package.json) - 46.2┬Ás
[TRACE] 10:38:51.557 shell.go:Pwd() - 0s
[DEBUG] 10:38:51.557 shell.go:HasFiles:447  false
[TRACE] 10:38:51.557 shell.go:HasFiles(.nvmrc) - 0s
[TRACE] 10:38:51.557 shell.go:Pwd() - 0s
[DEBUG] 10:38:51.557 shell.go:HasFiles:447  false
[TRACE] 10:38:51.557 shell.go:HasFiles(pnpm-workspace.yaml) - 0s
[TRACE] 10:38:51.557 shell.go:Pwd() - 0s
[DEBUG] 10:38:51.557 shell.go:HasFiles:447  false
[TRACE] 10:38:51.557 shell.go:HasFiles(.pnpmfile.cjs) - 0s
[TRACE] 10:38:51.557 shell.go:Pwd() - 0s
[DEBUG] 10:38:51.557 shell.go:HasFiles:447  false
[TRACE] 10:38:51.557 shell.go:HasFiles(.npmrc) - 0s
[TRACE] 10:38:51.557 shell.go:Pwd() - 0s
[DEBUG] 10:38:51.557 shell.go:HasFiles:447  false
[TRACE] 10:38:51.557 shell.go:HasFiles(.vue) - 0s
[DEBUG] 10:38:51.557 block.go:Debug:280  Segment: go
[TRACE] 10:38:51.557 shell.go:Pwd() - 0s
[DEBUG] 10:38:51.557 shell_windows.go:56  C:\Users\<<MY_USER>>
[TRACE] 10:38:51.557 shell.go:GOOS() - 0s
[DEBUG] 10:38:51.557 properties.go:GetStringArray:52  extensions: [*.go go.mod]
[DEBUG] 10:38:51.557 properties.go:GetStringArray:52  folders: []
[DEBUG] 10:38:51.557 properties.go:GetBool:22  home_enabled: false
[TRACE] 10:38:51.557 shell.go:Pwd() - 0s
[DEBUG] 10:38:51.557 shell_windows.go:56  C:\Users\<<MY_USER>>
[DEBUG] 10:38:51.557 properties.go:GetString:28  files
[TRACE] 10:38:51.557 shell.go:Pwd() - 0s
[DEBUG] 10:38:51.557 shell.go:HasFiles:447  false
[TRACE] 10:38:51.557 shell.go:HasFiles(*.go) - 0s
[TRACE] 10:38:51.557 shell.go:Pwd() - 0s
[DEBUG] 10:38:51.557 shell.go:HasFiles:447  false
[TRACE] 10:38:51.557 shell.go:HasFiles(go.mod) - 504.1┬Ás
[DEBUG] 10:38:51.557 block.go:Debug:280  Segment: julia
[TRACE] 10:38:51.557 shell.go:Pwd() - 0s
[DEBUG] 10:38:51.557 shell_windows.go:56  C:\Users\<<MY_USER>>
[TRACE] 10:38:51.557 shell.go:GOOS() - 0s
[DEBUG] 10:38:51.557 properties.go:GetStringArray:52  extensions: [*.jl]
[DEBUG] 10:38:51.557 properties.go:GetStringArray:52  folders: []
[DEBUG] 10:38:51.557 properties.go:GetBool:22  home_enabled: false
[TRACE] 10:38:51.557 shell.go:Pwd() - 0s
[DEBUG] 10:38:51.557 shell_windows.go:56  C:\Users\<<MY_USER>>
[DEBUG] 10:38:51.557 properties.go:GetString:28  files
[TRACE] 10:38:51.557 shell.go:Pwd() - 0s
[DEBUG] 10:38:51.557 shell.go:HasFiles:447  false
[TRACE] 10:38:51.557 shell.go:HasFiles(*.jl) - 140.2┬Ás
[DEBUG] 10:38:51.557 block.go:Debug:280  Segment: python
[DEBUG] 10:38:51.557 properties.go:GetString:28  files
[TRACE] 10:38:51.557 shell.go:Pwd() - 0s
[DEBUG] 10:38:51.557 shell_windows.go:56  C:\Users\<<MY_USER>>
[TRACE] 10:38:51.557 shell.go:GOOS() - 0s
[DEBUG] 10:38:51.557 properties.go:GetStringArray:52  extensions: [*.py *.ipynb pyproject.toml venv.bak]
[DEBUG] 10:38:51.557 properties.go:GetStringArray:52  folders: [.venv venv virtualenv env venv-win pyenv-win]
[DEBUG] 10:38:51.557 properties.go:GetBool:22  home_enabled: false
[TRACE] 10:38:51.557 shell.go:Pwd() - 0s
[DEBUG] 10:38:51.557 shell_windows.go:56  C:\Users\<<MY_USER>>
[DEBUG] 10:38:51.557 properties.go:GetBool:22  fetch_virtual_env: false
[TRACE] 10:38:51.557 shell.go:Pwd() - 0s
[DEBUG] 10:38:51.557 shell.go:HasFiles:447  false
[TRACE] 10:38:51.557 shell.go:HasFiles(*.py) - 0s
[TRACE] 10:38:51.557 shell.go:Pwd() - 0s
[DEBUG] 10:38:51.557 shell.go:HasFiles:447  false
[TRACE] 10:38:51.557 shell.go:HasFiles(*.ipynb) - 0s
[TRACE] 10:38:51.557 shell.go:Pwd() - 0s
[DEBUG] 10:38:51.557 shell.go:HasFiles:447  false
[TRACE] 10:38:51.557 shell.go:HasFiles(pyproject.toml) - 0s
[TRACE] 10:38:51.557 shell.go:Pwd() - 0s
[DEBUG] 10:38:51.557 shell.go:HasFiles:447  false
[TRACE] 10:38:51.557 shell.go:HasFiles(venv.bak) - 0s
[DEBUG] 10:38:51.558 shell.go:HasFolder:490  false
[TRACE] 10:38:51.558 shell.go:HasFolder(.venv) - 504.1┬Ás
[DEBUG] 10:38:51.558 shell.go:HasFolder:490  false
[TRACE] 10:38:51.558 shell.go:HasFolder(venv) - 0s
[DEBUG] 10:38:51.558 shell.go:HasFolder:490  false
[TRACE] 10:38:51.558 shell.go:HasFolder(virtualenv) - 120.8┬Ás
[DEBUG] 10:38:51.558 shell.go:HasFolder:490  false
[TRACE] 10:38:51.558 shell.go:HasFolder(env) - 0s
[DEBUG] 10:38:51.558 shell.go:HasFolder:490  false
[TRACE] 10:38:51.558 shell.go:HasFolder(venv-win) - 0s
[DEBUG] 10:38:51.558 shell.go:HasFolder:490  false
[TRACE] 10:38:51.558 shell.go:HasFolder(pyenv-win) - 0s
[DEBUG] 10:38:51.558 block.go:Debug:280  Segment: ruby
[TRACE] 10:38:51.558 shell.go:Pwd() - 0s
[DEBUG] 10:38:51.558 shell_windows.go:56  C:\Users\<<MY_USER>>
[TRACE] 10:38:51.558 shell.go:GOOS() - 0s
[DEBUG] 10:38:51.558 properties.go:GetStringArray:52  extensions: [*.rb Rakefile Gemfile]
[DEBUG] 10:38:51.558 properties.go:GetStringArray:52  folders: []
[DEBUG] 10:38:51.558 properties.go:GetBool:22  home_enabled: false
[TRACE] 10:38:51.558 shell.go:Pwd() - 0s
[DEBUG] 10:38:51.558 shell_windows.go:56  C:\Users\<<MY_USER>>
[DEBUG] 10:38:51.558 properties.go:GetString:28  files
[TRACE] 10:38:51.558 shell.go:Pwd() - 0s
[DEBUG] 10:38:51.558 shell.go:HasFiles:447  false
[TRACE] 10:38:51.558 shell.go:HasFiles(*.rb) - 0s
[TRACE] 10:38:51.558 shell.go:Pwd() - 0s
[DEBUG] 10:38:51.558 shell.go:HasFiles:447  false
[TRACE] 10:38:51.558 shell.go:HasFiles(Rakefile) - 0s
[TRACE] 10:38:51.558 shell.go:Pwd() - 0s
[DEBUG] 10:38:51.558 shell.go:HasFiles:447  false
[TRACE] 10:38:51.558 shell.go:HasFiles(Gemfile) - 0s
[DEBUG] 10:38:51.558 block.go:Debug:280  Segment: azfunc
[TRACE] 10:38:51.558 shell.go:Pwd() - 0s
[DEBUG] 10:38:51.558 shell_windows.go:56  C:\Users\<<MY_USER>>
[TRACE] 10:38:51.558 shell.go:GOOS() - 0s
[DEBUG] 10:38:51.558 properties.go:GetStringArray:52  extensions: [host.json local.settings.json function.json]
[DEBUG] 10:38:51.558 properties.go:GetStringArray:52  folders: []
[DEBUG] 10:38:51.558 properties.go:GetBool:22  home_enabled: false
[TRACE] 10:38:51.558 shell.go:Pwd() - 0s
[DEBUG] 10:38:51.558 shell_windows.go:56  C:\Users\<<MY_USER>>
[DEBUG] 10:38:51.558 properties.go:GetString:28  files
[TRACE] 10:38:51.558 shell.go:Pwd() - 0s
[DEBUG] 10:38:51.558 shell.go:HasFiles:447  false
[TRACE] 10:38:51.558 shell.go:HasFiles(host.json) - 504┬Ás
[TRACE] 10:38:51.558 shell.go:Pwd() - 0s
[DEBUG] 10:38:51.558 shell.go:HasFiles:447  false
[TRACE] 10:38:51.558 shell.go:HasFiles(local.settings.json) - 81.7┬Ás
[TRACE] 10:38:51.558 shell.go:Pwd() - 0s
[DEBUG] 10:38:51.558 shell.go:HasFiles:447  false
[TRACE] 10:38:51.558 shell.go:HasFiles(function.json) - 45.4┬Ás
[DEBUG] 10:38:51.558 block.go:Debug:280  Segment: aws
[TRACE] 10:38:51.558 shell.go:Pwd() - 0s
[DEBUG] 10:38:51.558 shell_windows.go:56  C:\Users\<<MY_USER>>
[TRACE] 10:38:51.558 shell.go:GOOS() - 0s
[DEBUG] 10:38:51.558 properties.go:GetBool:22  display_default: false
[DEBUG] 10:38:51.558 shell.go:Getenv:395  NO DATA
[TRACE] 10:38:51.558 shell.go:Getenv(AWS_VAULT) - 0s
[DEBUG] 10:38:51.558 shell.go:Getenv:395  NO DATA
[TRACE] 10:38:51.558 shell.go:Getenv(AWS_PROFILE) - 0s
[DEBUG] 10:38:51.558 shell.go:Getenv:395  NO DATA
[TRACE] 10:38:51.558 shell.go:Getenv(AWS_REGION) - 0s
[DEBUG] 10:38:51.558 shell.go:Getenv:395  NO DATA
[TRACE] 10:38:51.558 shell.go:Getenv(AWS_DEFAULT_REGION) - 0s
[DEBUG] 10:38:51.558 shell.go:Getenv:395  NO DATA
[TRACE] 10:38:51.558 shell.go:Getenv(AWS_CONFIG_FILE) - 0s
[DEBUG] 10:38:51.558 shell_windows.go:56  C:\Users\<<MY_USER>>
[ERROR] 10:38:51.558 shell.go:FileContent:516  open C:\Users\<<MY_USER>>/.aws/config: The system cannot find the path specified.
[TRACE] 10:38:51.558 shell.go:FileContent(C:\Users\<<MY_USER>>/.aws/config) - 0s
[DEBUG] 10:38:51.558 block.go:Debug:280  Segment: root
[TRACE] 10:38:51.558 shell.go:Pwd() - 0s
[DEBUG] 10:38:51.558 shell_windows.go:56  C:\Users\<<MY_USER>>
[TRACE] 10:38:51.558 shell.go:GOOS() - 0s
[TRACE] 10:38:51.558 shell_windows.go:Root() - 0s
[DEBUG] 10:38:51.558 block.go:Debug:280  Segment: executiontime
[TRACE] 10:38:51.558 shell.go:Pwd() - 0s
[DEBUG] 10:38:51.558 shell_windows.go:56  C:\Users\<<MY_USER>>
[TRACE] 10:38:51.558 shell.go:GOOS() - 0s
[DEBUG] 10:38:51.558 properties.go:GetBool:22  always_enabled: true
[TRACE] 10:38:51.558 shell.go:ExecutionTime() - 0s
[DEBUG] 10:38:51.558 properties.go:GetFloat64:34  threshold: 500.000000
[DEBUG] 10:38:51.558 properties.go:GetString:28  austin
[TRACE] 10:38:51.558 shell.go:TemplateCache() - 0s
[TRACE] 10:38:51.558 shell.go:TemplateCache() - 0s
[TRACE] 10:38:51.558 shell.go:Shell() - 0s
[DEBUG] 10:38:51.558 block.go:Debug:280  Segment: exit
[TRACE] 10:38:51.558 shell.go:Pwd() - 0s
[DEBUG] 10:38:51.558 shell_windows.go:56  C:\Users\<<MY_USER>>
[TRACE] 10:38:51.558 shell.go:GOOS() - 0s
[TRACE] 10:38:51.558 shell.go:ErrorCode() - 0s
[DEBUG] 10:38:51.558 properties.go:GetBool:22  always_enabled: true
[TRACE] 10:38:51.558 shell.go:TemplateCache() - 0s
[TRACE] 10:38:51.558 shell.go:Shell() - 0s
[TRACE] 10:38:51.559 shell.go:TemplateCache() - 0s
[TRACE] 10:38:51.559 shell.go:Flags() - 0s
[DEBUG] 10:38:51.559 block.go:Debug:280  Segment: shell
[TRACE] 10:38:51.559 shell.go:Pwd() - 0s
[DEBUG] 10:38:51.559 shell_windows.go:56  C:\Users\<<MY_USER>>
[TRACE] 10:38:51.559 shell.go:GOOS() - 0s
[DEBUG] 10:38:51.559 properties.go:GetKeyValueMap:46  mapped_shell_names: map[]
[TRACE] 10:38:51.559 shell.go:Shell() - 0s
[TRACE] 10:38:51.559 shell.go:Flags() - 0s
[TRACE] 10:38:51.559 shell.go:TemplateCache() - 0s
[TRACE] 10:38:51.559 shell.go:TemplateCache() - 0s
[TRACE] 10:38:51.559 shell.go:Shell() - 0s
[DEBUG] 10:38:51.559 block.go:Debug:280  Segment: ytm
[TRACE] 10:38:51.559 shell.go:Pwd() - 0s
[DEBUG] 10:38:51.559 shell_windows.go:56  C:\Users\<<MY_USER>>
[TRACE] 10:38:51.559 shell.go:GOOS() - 0s
[DEBUG] 10:38:51.559 properties.go:GetString:28  http://127.0.0.1:9863
[DEBUG] 10:38:51.559 properties.go:GetInt:40  api_url: 20
[DEBUG] 10:38:51.560 shell.go:HTTPRequest:686 Ôåô
    GET /query HTTP/1.1
    Host: 127.0.0.1:9863
    User-Agent: Go-http-client/1.1
    Accept-Encoding: gzip

[ERROR] 10:38:51.584 shell.go:HTTPRequest:690  Get "http://127.0.0.1:9863/query": context deadline exceeded
[TRACE] 10:38:51.584 shell.go:HTTPRequest(http://127.0.0.1:9863/query) - 25.0136ms
[DEBUG] 10:38:51.584 block.go:Debug:280  Segment: time
[TRACE] 10:38:51.584 shell.go:Pwd() - 0s
[DEBUG] 10:38:51.584 shell_windows.go:56  C:\Users\<<MY_USER>>
[TRACE] 10:38:51.584 shell.go:GOOS() - 0s
[DEBUG] 10:38:51.584 properties.go:GetString:28  15:04:05
[TRACE] 10:38:51.584 shell.go:TemplateCache() - 0s
[TRACE] 10:38:51.585 shell.go:TemplateCache() - 0s
[TRACE] 10:38:51.585 shell.go:Shell() - 0s
[DEBUG] 10:38:51.585 shell.go:Getenv:395  C:\Users\<<MY_USER>>\AppData\Local
[TRACE] 10:38:51.585 shell.go:Getenv(LOCALAPPDATA) - 0s
[TRACE] 10:38:51.585 shell_windows.go:CachePath() - 0s
[TRACE] 10:38:51.585 shell.go:Flags() - 0s
JanDeDobbeleer commented 1 year ago

@mu88 a few things, "terminal_background": "transparent" is not supported, it needs be an actual color. Without specifying that color, our engine uses transparent by itself. The fact that you see black triangles is because WT (and depending on the renderer) has issues with inverted ANSI. You can try their new Atlas render engine to see if this is already resolved, check the preview of WT. Setting the background to #2e9599 is handled correctly as that one indeed prints the correct color, but your terminal has a background color of #393939.

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