microsoft/Terminal

DxRenderer should eat "concealed" text

Open

#10,511 opened on Jun 24, 2021

View on GitHub
 (3 comments) (0 reactions) (0 assignees)C++ (3,212 forks)batch import
Area-RenderingHelp WantedIssue-TaskProduct-Terminal

Repository metrics

Stars
 (35,764 stars)
PR merge metrics
 (Avg merge 27d 19h) (24 merged PRs in 30d)

Description

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.

Contributor guide