JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
Render invisible attribute
[st.git] / st.c
diff --git a/st.c b/st.c
index 9637834..a69cc9e 100644 (file)
--- a/st.c
+++ b/st.c
@@ -3236,6 +3236,9 @@ xdraws(char *s, Glyph base, int x, int y, int charlen, int bytelen) {
        if(base.mode & ATTR_BLINK && term.mode & MODE_BLINK)
                fg = bg;
 
+       if(base.mode & ATTR_INVISIBLE)
+               fg = bg;
+
        /* Intelligent cleaning up of the borders. */
        if(x == 0) {
                xclear(0, (y == 0)? 0 : winy, borderpx,