microsoft / microsoft/terminal
Feature Request: Background color transparency
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 105k
- Forks
- 9.6k
- Avg merge
- 3d 17h
- Merged PRs (30d)
- 29
Description
Description of the new feature/enhancement
This feature would add a setting to change the opacity of the text background when it is set. This is not the screen background which already has this feature. It is also not per-color transparency. The rationale for this is that I have an image background, but I also use vim a lot which tends to want to set a solid background.
Basically, I can do this:

Or this:

And I'd like to be able to do (roughly) this:

It'd look a little different because some solid background is still there, but that should give you the general idea.
Proposed technical implementation details (optional)
Add a profile setting backgroundOpacity. If this is lower than 1, when a cell is printed with a custom background color, that color is blended with the default terminal background instead of being fully opaque.
Bonus: backgroundBlend - Different color blend modes.
I'll also accept pointers on how to add these settings and pipe that info through to the renderer :).
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing the proposed profile setting backgroundOpacity into the renderer, focusing on cells with custom background colors. Done means a setting below 1 blends those backgrounds with the default terminal background without changing screen-background opacity; backgroundBlend is optional.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- desktop
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100