microsoft/Terminal

DxRenderer should eat "concealed" text

Open

#10,511 建立於 2021年6月24日

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

倉庫指標

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

描述

Description of the new feature/enhancement

Invisible text is generally rendered as text with a foreground color equal to the background color. This can be repro'd as a part of https://github.com/jdebp/terminal-tests/tree/master/PowerShell).

This makes it not look invisible, however, because we apply the acrylic texture to the background, but not the foreground.

Proposed technical implementation details (optional)

Just make the renderer not render the invisible text. Ignore it completely.

貢獻者指南