microsoft/Terminal

Feature Request: Background color transparency

Open

#5,145 建立於 2020年3月27日

在 GitHub 查看
 (1 留言) (11 反應) (0 負責人)C++ (3,212 fork)batch import
Area-RenderingArea-SettingsHelp WantedIssue-TaskProduct-Terminal

倉庫指標

Star
 (35,764 star)
PR 合併指標
 (平均合併 27天 19小時) (30 天內合併 24 個 PR)

描述

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: terminal-transparent

Or this: terminal-opaque

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

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 :).

貢獻者指南