if(xw.state & WIN_FOCUSED) {
if(IS_SET(MODE_REVERSE)) {
g.mode |= ATTR_REVERSE;
- g.fg = defaultcs;
- g.bg = defaultfg;
}
+ g.fg = term.line[term.c.y][curx].bg;
+ g.bg = term.line[term.c.y][curx].fg;
sl = utf8len(g.c);
width = (term.line[term.c.y][curx].mode & ATTR_WIDE)\