microsoft/Terminal

Feature Request: Background color transparency

オープン

#5,145 opened on 2020/03/27

 (1 件のコメント) (11 件のリアクション) (0 人の担当者)C++ (9,275 件のフォーク)batch import
Area-RenderingArea-SettingsHelp WantedIssue-TaskProduct-Terminal

Repository metrics

Stars
 (103,173 個のスター)
PR merge metrics
 (平均マージ 27d 19h) (30d で 24 merged PRs)

説明

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

コントリビューターガイド