Lines Matching +full:5 +full:bg
101 #define A_CONCEAL (1u<<5)
114 /* attr/fg/bg/all 0 is the default attr/fg/bg/all, respectively */
118 t_color bg;
140 case 5: sgr->attr |= A_BLINK; break;
150 case 49: sgr->bg = C_DEFAULT; break;
159 sgr->bg = C_ANSI(code - 40);
189 int fg, bg, tmp; /* Windows colors */
191 /* Not "SGR mode": apply -D<x> to default fg+bg with one attribute */
192 if (!sgr_mode && sgr->fg == C_DEFAULT && sgr->bg == C_DEFAULT)
223 bg = sgr->bg == C_DEFAULT ? nm_bg_color
224 : screen_color[CGET_ANSI(sgr->bg)];
230 bg |= 8; /* TODO: can be illegible */
235 fg = bg;
236 bg = tmp;
240 fg = bg ^ 8;
242 WIN32setcolors(fg, bg);
293 * ^[[38;5;123m or ^[[38;2;5;6;7m