Rework of selectionBackground & addition of selectionForeground #6936

Closed
opened 2026-01-31 00:50:54 +00:00 by claunia · 2 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:54 +00:00
Author
Owner

@DHowett-MSFT commented on GitHub (Mar 18, 2020):

Thanks for the request! This is, at its heart, a /dupe of #3580 and #3561. 😄

@DHowett-MSFT commented on GitHub (Mar 18, 2020): Thanks for the request! This is, at its heart, a /dupe of #3580 and #3561. :smile:
Author
Owner

@ghost commented on GitHub (Mar 18, 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 (Mar 18, 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!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#6936