microsoft/Terminal

Transparent background doesn't become transparent foreground when rendered in reverse video

Offen

#7.014 geöffnet am 22.07.2020

 (31 Kommentare) (14 Reaktionen) (0 zugewiesene Personen)C++ (9.275 Forks)batch import
Area-RenderingHelp WantedIssue-TaskProduct-Terminal

Repository-Metriken

Stars
 (103.173 Sterne)
PR-Merge-Metriken
 (Durchschn. Merge 27T 19h) (24 gemergte PRs in 30 T)

Beschreibung

The new Preview 1.2.2022.0 seems to fix all the VT colors issues I observed before, except one last case:

When the background color is the default (49), it is correctly kept transparent, but if the foreground color is transparent, which is possible when the background is 49 and then the colors are reversed using 7, it is rendered as black instead of transparent.

image echo -e "\e[31m\u2580\e[7m\u2580\e[m" echo -e "\e[31m\u2590\e[7m\u25A0\e[27m\u258C\e[m"

In both cases, there should be no black square, the acrylic transparency should show through instead.

Contributor Guide