Invalid color for prompt elements #8801

Closed
opened 2026-01-31 01:38:17 +00:00 by claunia · 8 comments
Owner

Originally created by @Mystic8b on GitHub (Jun 4, 2020).

Environment

Platform ServicePack Version      VersionString
-------- ----------- -------      -------------
 Win32NT             10.0.19041.0 Microsoft Windows NT 10.0.19041.0

Steps to reproduce

Install win terminal, zsh, oh my zsh and powerlevel10k theme

Expected behavior

No black elements in prompt

Actual behavior

image
Previously, I made an issue for the developers, they sent to you
https://github.com/romkatv/powerlevel10k/issues/800

Originally created by @Mystic8b on GitHub (Jun 4, 2020). <!-- 🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨 I ACKNOWLEDGE THE FOLLOWING BEFORE PROCEEDING: 1. If I delete this entire template and go my own path, the core team may close my issue without further explanation or engagement. 2. If I list multiple bugs/concerns in this one issue, the core team may close my issue without further explanation or engagement. 3. If I write an issue that has many duplicates, the core team may close my issue without further explanation or engagement (and without necessarily spending time to find the exact duplicate ID number). 4. If I leave the title incomplete when filing the issue, the core team may close my issue without further explanation or engagement. 5. If I file something completely blank in the body, the core team may close my issue without further explanation or engagement. All good? Then proceed! --> <!-- This bug tracker is monitored by Windows Terminal development team and other technical folks. **Important: When reporting BSODs or security issues, DO NOT attach memory dumps, logs, or traces to Github issues**. Instead, send dumps/traces to secure@microsoft.com, referencing this GitHub issue. If this is an application crash, please also provide a Feedback Hub submission link so we can find your diagnostic data on the backend. Use the category "Apps > Windows Terminal (Preview)" and choose "Share My Feedback" after submission to get the link. Please use this form and describe your issue, concisely but precisely, with as much detail as possible. --> # Environment ```none Platform ServicePack Version VersionString -------- ----------- ------- ------------- Win32NT 10.0.19041.0 Microsoft Windows NT 10.0.19041.0 ``` # Steps to reproduce Install win terminal, zsh, oh my zsh and powerlevel10k theme <!-- A description of how to trigger this bug. --> # Expected behavior No black elements in prompt <!-- A description of what you're expecting, possibly containing screenshots or reference material. --> # Actual behavior ![image](https://user-images.githubusercontent.com/35394377/83752947-12327280-a672-11ea-9601-009ecc415a7b.png) Previously, I made an issue for the developers, they sent to you https://github.com/romkatv/powerlevel10k/issues/800 <!-- What's actually happening? -->
claunia added the Resolution-Duplicate label 2026-01-31 01:38:17 +00:00
Author
Owner

@zadjii-msft commented on GitHub (Jun 4, 2020):

Can you share your settings.json?

@zadjii-msft commented on GitHub (Jun 4, 2020): Can you share your `settings.json`?
Author
Owner

@Mystic8b commented on GitHub (Jun 4, 2020):

{
    "$schema": "https://aka.ms/terminal-profiles-schema",
    "defaultProfile": "{2c4de342-38b7-51cf-b940-2309a097f518}",
    "tabWidthMode": "titleLength",
    "initialPosition": "830,200",

    "profiles":
    {
        "defaults":
        {
        },
        "list":
        [
            {
                "name": "Ubuntu",
                "guid": "{2c4de342-38b7-51cf-b940-2309a097f518}",
                "icon": "C:/Users/Mystic/OneDrive/Other/Icons/Terminal/ubuntu_32px.png",
                "suppressApplicationTitle": true,
                "tabTitle": "WSL (Ubuntu)",
                "hidden": false,
                "source": "Windows.Terminal.Wsl",
                "colorScheme": "One Half Light",
                "useAcrylic": true,
                "acrylicOpacity" : 0.8,
                "fontFace" : "MesloLGS NF",
                "fontSize" : 9,
                "historySize" : 9001,
                "startingDirectory":"//wsl$/Ubuntu/home/mystic"
            },
            {
                "name": "PowerShell 7.0",
                "guid": "{574e775e-4f2a-5b96-ac1e-a2962a402336}",
                "hidden": false,
                "source": "Windows.Terminal.PowershellCore",
                "background" : "#1f62af",
                "foreground" : "#ececec",
                "useAcrylic": true,
                "acrylicOpacity" : 0.8,
                "fontFace" : "Courier",
                "fontSize" : 10,
                "historySize" : 9001
            },
            {
                "name": "cmd",
                "guid": "{0caa0dad-35be-5f56-a8ff-afceeeaa6101}",
                "icon": "C:/Users/Mystic/OneDrive/Other/Icons/Terminal/CMD_32px.png",
                "commandline": "cmd.exe",
                "hidden": false,
                "background" : "#455566",
                "foreground" : "#ececec",
                "useAcrylic": true,
                "acrylicOpacity" : 0.8,
                "fontFace" : "Courier",
                "fontSize" : 10,
                "historySize" : 9001
            }
        ]
    },

    "schemes": 
    [
        {
            "name": "One Half Light",
            "foreground": "#2b2d31",
            "background": "#FAFAFA",
            "selectionBackground": "#0051ff",
            "cursorColor": "#2e312e",
            "black": "#383A42",
            "red": "#E45649",
            "green": "#50A14F",
            "yellow": "#f3ef16",
            "blue": "#1e8de9",
            "purple": "#A626A4",
            "cyan": "#0bb3d4",
            "white": "#FAFAFA",
            "brightBlack": "#5f6169",
            "brightRed": "#DF6C75",
            "brightGreen": "#98C379",
            "brightYellow": "#e4e26c",
            "brightBlue": "#64b6fa",
            "brightPurple": "#C577DD",
            "brightCyan": "#5dd7e7",
            "brightWhite": "#FFFFFF"
        }
    ],

    "keybindings": 
    [
        {"command": "copy", "keys": "ctrl+c"},
        {"command": "paste", "keys": "ctrl+v"},
        {"command": "closeTab", "keys": "ctrl+w"},
        {"command": "newTab", "keys": "ctrl+t"},
        {"command": {"action": "switchToTab", "index": 0}, "keys": "alt+1"},
        {"command": {"action": "switchToTab", "index": 1}, "keys": "alt+2"},
        {"command": {"action": "switchToTab", "index": 2}, "keys": "alt+3"},
        {"command": {"action": "switchToTab", "index": 3}, "keys": "alt+4"},
        {"command": {"action": "switchToTab", "index": 4}, "keys": "alt+5"},
        {"command": {"action": "switchToTab", "index": 5}, "keys": "alt+6"},
        {"command": {"action": "switchToTab", "index": 6}, "keys": "alt+7"},
        {"command": {"action": "switchToTab", "index": 7}, "keys": "alt+8"},
        {"command": {"action": "switchToTab", "index": 8}, "keys": "alt+9"},
        {"command": "scrollDown", "keys": "ctrl+shift+down"},
        {"command": "scrollDownPage", "keys": "ctrl+shift+pgdn"},
        {"command": "scrollUp", "keys": "ctrl+shift+up"},
        {"command": "scrollUpPage", "keys": "ctrl+shift+pgup"},
        {"command": "find", "keys": "ctrl+f"}
//        {"command": "prevTab", "keys": "alt+left"},
//        {"command": "nextTab", "keys": "alt+right"}
    ]
}

@Mystic8b commented on GitHub (Jun 4, 2020): ``` { "$schema": "https://aka.ms/terminal-profiles-schema", "defaultProfile": "{2c4de342-38b7-51cf-b940-2309a097f518}", "tabWidthMode": "titleLength", "initialPosition": "830,200", "profiles": { "defaults": { }, "list": [ { "name": "Ubuntu", "guid": "{2c4de342-38b7-51cf-b940-2309a097f518}", "icon": "C:/Users/Mystic/OneDrive/Other/Icons/Terminal/ubuntu_32px.png", "suppressApplicationTitle": true, "tabTitle": "WSL (Ubuntu)", "hidden": false, "source": "Windows.Terminal.Wsl", "colorScheme": "One Half Light", "useAcrylic": true, "acrylicOpacity" : 0.8, "fontFace" : "MesloLGS NF", "fontSize" : 9, "historySize" : 9001, "startingDirectory":"//wsl$/Ubuntu/home/mystic" }, { "name": "PowerShell 7.0", "guid": "{574e775e-4f2a-5b96-ac1e-a2962a402336}", "hidden": false, "source": "Windows.Terminal.PowershellCore", "background" : "#1f62af", "foreground" : "#ececec", "useAcrylic": true, "acrylicOpacity" : 0.8, "fontFace" : "Courier", "fontSize" : 10, "historySize" : 9001 }, { "name": "cmd", "guid": "{0caa0dad-35be-5f56-a8ff-afceeeaa6101}", "icon": "C:/Users/Mystic/OneDrive/Other/Icons/Terminal/CMD_32px.png", "commandline": "cmd.exe", "hidden": false, "background" : "#455566", "foreground" : "#ececec", "useAcrylic": true, "acrylicOpacity" : 0.8, "fontFace" : "Courier", "fontSize" : 10, "historySize" : 9001 } ] }, "schemes": [ { "name": "One Half Light", "foreground": "#2b2d31", "background": "#FAFAFA", "selectionBackground": "#0051ff", "cursorColor": "#2e312e", "black": "#383A42", "red": "#E45649", "green": "#50A14F", "yellow": "#f3ef16", "blue": "#1e8de9", "purple": "#A626A4", "cyan": "#0bb3d4", "white": "#FAFAFA", "brightBlack": "#5f6169", "brightRed": "#DF6C75", "brightGreen": "#98C379", "brightYellow": "#e4e26c", "brightBlue": "#64b6fa", "brightPurple": "#C577DD", "brightCyan": "#5dd7e7", "brightWhite": "#FFFFFF" } ], "keybindings": [ {"command": "copy", "keys": "ctrl+c"}, {"command": "paste", "keys": "ctrl+v"}, {"command": "closeTab", "keys": "ctrl+w"}, {"command": "newTab", "keys": "ctrl+t"}, {"command": {"action": "switchToTab", "index": 0}, "keys": "alt+1"}, {"command": {"action": "switchToTab", "index": 1}, "keys": "alt+2"}, {"command": {"action": "switchToTab", "index": 2}, "keys": "alt+3"}, {"command": {"action": "switchToTab", "index": 3}, "keys": "alt+4"}, {"command": {"action": "switchToTab", "index": 4}, "keys": "alt+5"}, {"command": {"action": "switchToTab", "index": 5}, "keys": "alt+6"}, {"command": {"action": "switchToTab", "index": 6}, "keys": "alt+7"}, {"command": {"action": "switchToTab", "index": 7}, "keys": "alt+8"}, {"command": {"action": "switchToTab", "index": 8}, "keys": "alt+9"}, {"command": "scrollDown", "keys": "ctrl+shift+down"}, {"command": "scrollDownPage", "keys": "ctrl+shift+pgdn"}, {"command": "scrollUp", "keys": "ctrl+shift+up"}, {"command": "scrollUpPage", "keys": "ctrl+shift+pgup"}, {"command": "find", "keys": "ctrl+f"} // {"command": "prevTab", "keys": "alt+left"}, // {"command": "nextTab", "keys": "alt+right"} ] } ```
Author
Owner

@Mystic8b commented on GitHub (Jun 4, 2020):

Now in that issue they told me:
The fact that Microsoft Terminal confuses foreground color 7 with default foreground is a problem of Microsoft Terminal.

@Mystic8b commented on GitHub (Jun 4, 2020): Now in that issue they told me: `The fact that Microsoft Terminal confuses foreground color 7 with default foreground is a problem of Microsoft Terminal.`
Author
Owner

@zadjii-msft commented on GitHub (Jun 4, 2020):

Ah okay, yea this is #2661, the bane of @DHowett.

/dup #2661

@zadjii-msft commented on GitHub (Jun 4, 2020): Ah okay, yea this is #2661, the bane of @DHowett. /dup #2661
Author
Owner

@ghost commented on GitHub (Jun 4, 2020):

Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report!

@ghost commented on GitHub (Jun 4, 2020): Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report!
Author
Owner

@Mystic8b commented on GitHub (Jun 4, 2020):

oh, half a year has passed since the opening of that issue
pls, boys...

@Mystic8b commented on GitHub (Jun 4, 2020): oh, half a year has passed since the opening of that issue pls, boys...
Author
Owner

@zadjii-msft commented on GitHub (Jun 4, 2020):

If you think it's an easy fix, we'd be happy to accept your contribution 😉

@zadjii-msft commented on GitHub (Jun 4, 2020): If you think it's an easy fix, we'd be happy to accept your contribution 😉
Author
Owner

@Mystic8b commented on GitHub (Jun 4, 2020):

Oh no. I don’t think so) But I think such things are more a matter of priority, in the style of "there are more important things."
In any case, I wish you success, I understand how complicated it is, I myself work in this area.

@Mystic8b commented on GitHub (Jun 4, 2020): Oh no. I don’t think so) But I think such things are more a matter of priority, in the style of "there are more important things." In any case, I wish you success, I understand how complicated it is, I myself work in this area.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#8801