X-Git-Url: https://git.danieliu.xyz/?a=blobdiff_plain;f=st.c;h=4d4f11551379261aa894d1067520f10cbe90f986;hb=2bef36ab81c356b106f00221038b743819cd20bd;hp=9de30ec7e43c95bc9457ab5ce9eac2fcd608456a;hpb=168248432705eff5fc44cf8a566bc090ca59d78a;p=st.git diff --git a/st.c b/st.c index 9de30ec..4d4f115 100644 --- a/st.c +++ b/st.c @@ -3855,10 +3855,10 @@ xdrawcursor(void) case 1: /* Blinking Block (Default) */ case 2: /* Steady Block */ if (IS_SET(MODE_REVERSE)) { - g.mode |= ATTR_REVERSE; - g.fg = defaultcs; - g.bg = defaultfg; - } + g.mode |= ATTR_REVERSE; + g.fg = defaultcs; + g.bg = defaultfg; + } g.mode |= term.line[term.c.y][curx].mode & ATTR_WIDE; xdrawglyph(g, term.c.x, term.c.y);