Rework of selectionBackground & addition of selectionForeground #6931

Open
opened 2026-01-31 00:50:47 +00:00 by claunia · 0 comments
Owner

Originally created by @linuxluzer on GitHub (Mar 18, 2020).

selectionBackground-selectionForeground

While making the new WT look and feel like Powershell, the selectionBackground property seems affected by an acrylic effect that reduces contrast for accessibility and causes an ugly sensation whit some color schemes. It should be a true/false option that triggers the cmd/powershell mode (full opacity). In that case, a selectionForeground could be added too, in order to address the parity features with conhost.exe.

A technical implementation in profiles.json could be something like this (don´t have enough C++ knowledge for real code):

"profiles":
    {
        "list":
        [
            {
                "name": "Windows PowerShell",
                "commandline": "powershell.exe",
                "selectionOpacity": true,
                "selectionBackground": "#fedba9",
                "selectionForeground": "#ffffff",
                "hidden": false
             }
        ]
    }
Originally created by @linuxluzer on GitHub (Mar 18, 2020). ![selectionBackground-selectionForeground](https://user-images.githubusercontent.com/59659765/76827230-226a4c80-67fd-11ea-882b-dedfd0fd0f86.PNG) While making the new WT look and feel like Powershell, the `selectionBackground ` property seems affected by an acrylic effect that reduces contrast for accessibility and causes an ugly sensation whit some color schemes. It should be a `true`/`false` option that triggers the cmd/powershell mode (full opacity). In that case, a `selectionForeground ` could be added too, in order to address the parity features with conhost.exe. A technical implementation in `profiles.json` could be something like this (don´t have enough C++ knowledge for real code): ``` "profiles": { "list": [ { "name": "Windows PowerShell", "commandline": "powershell.exe", "selectionOpacity": true, "selectionBackground": "#fedba9", "selectionForeground": "#ffffff", "hidden": false } ] } ```
claunia added the Issue-FeatureResolution-Duplicate labels 2026-01-31 00:50:48 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#6931