microsoft/Terminal

DxRenderer should eat "concealed" text

Open

#10.511 aperta il 24 giu 2021

Vedi su GitHub
 (3 commenti) (0 reazioni) (0 assegnatari)C++ (3212 fork)batch import
Area-RenderingHelp WantedIssue-TaskProduct-Terminal

Metriche repository

Star
 (35.764 star)
Metriche merge PR
 (Merge medio 27g 19h) (24 PR mergiate in 30 g)

Descrizione

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.

Guida contributor