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

贡献者指南