microsoft / microsoft/terminal

Add an option to revert to old alpha-based selection colors

Open
#17,837 1 comment 2 reactions 0 assignees View on GitHub
Area-Rendering Area-Settings Issue-Task Product-Terminal
Dominant language
C++
Stars
105k
Forks
9.6k
Avg merge
3d 17h
Merged PRs (30d)
29

Description

In v1.22, selection colors were changed significantly to make the selection have uniform foreground and background color. However, the new colors are imo hard to read due to excessive contrast and they interact poorly with text with varying background and foreground color (see image 4 and 5). Also, using glyphs to create rounded corners on blocks with different background colors breaks with the new selection behavior (see image 3).

Personally, I much prefer the previous alpha-based selection. Could you add an option to revert to the previous behavior?

v1.21, the pretty alpha-based selection:
![image](https://github.com/user-attachments/assets/6d448502-83a9-4192-a908-1294ca5a2b0d)

v1.22, too much contrast, imo does not look as good:
![image](https://github.com/user-attachments/assets/df5efd53-6a5a-493a-93ad-3f70241767e0)

---

Bad rendering for rounded corners using glyphs:
![image](https://github.com/user-attachments/assets/820cd7e0-a4fc-46a0-ad79-2cc8f9e99ee5)

---

v1.22 hides all background colors:
![image](https://github.com/user-attachments/assets/0e4f91e6-41f0-4191-93ad-f8b20a3c27cf)

v1.21 preserves background colors, which imo looks better:
![image](https://github.com/user-attachments/assets/c0bb3fd9-13fa-4ab6-b27a-8cb8f945bd3e)

Contributor guide

Open the contributing guide

Research direction

No files, tests, or entry points are named. Start by comparing the selection rendering behavior between v1.21 and v1.22, then identify where selection colors are configured; done means an option restores the alpha-based behavior while preserving background colors and glyph-based rounded corners.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
cli, desktop
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.