microsoft/Terminal

DxRenderer should eat "concealed" text

Ouverte

#10 511 ouverte le 24 juin 2021

 (3 commentaires) (0 réaction) (0 personne assignée)C++ (9 275 forks)batch import
Area-RenderingHelp WantedIssue-TaskProduct-Terminal

Métriques du dépôt

Stars
 (103 173 étoiles)
Métriques de merge PR
 (Merge moyen 27j 19h) (24 PRs mergées en 30 j)

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.

Guide contributeur