SGR 8 doesn't work when acrylic is enabled #11919
Labels
Area-Rendering
Text rendering, emoji, complex glyph & font-fallback issues
Help Wanted
We encourage anyone to jump in on these.
Issue-Bug
It either shouldn't be doing this or needs an investigation.
Needs-Tag-Fix
Doesn't match tag requirements
Priority-3
A description (P3)
Product-Terminal
The new Windows Terminal.
Milestone
Windows Terminal version
1.12.2931.0
Windows build number
10.0.19041.1348
Other Software
No response
Steps to reproduce
printf "\e[8m CONCEALED \e[m\n"
Expected Behavior
I'd expect the text to be completely invisible.
Actual Behavior
The text is quite clearly visible.
An easy fix for this might be to include an additional
attr.IsInvisible()
test in the condition here:terminal/src/cascadia/TerminalCore/terminalrenderdata.cpp
Lines 94 to 99 in bb71179
The concealed text wouldn't show as transparent, but would instead appear as an opaque version of the background color, as if it had been blacked out by a censor. That seems like a reasonable rendition I think.
The text was updated successfully, but these errors were encountered: