Lines Matching full:fg
116 /* attr/fg/bg/all 0 is the default attr/fg/bg/all, respectively */
119 t_color fg; member
151 case 39: sgr->fg = C_DEFAULT; break; in update_sgr()
156 sgr->fg = C_ANSI(code - 30); in update_sgr()
191 int fg, bg, tmp; /* Windows colors */ in set_win_colors() local
193 /* Not "SGR mode": apply -D<x> to default fg+bg with one attribute */ in set_win_colors()
194 if (!sgr_mode && sgr->fg == C_DEFAULT && sgr->bg == C_DEFAULT) in set_win_colors()
222 fg = sgr->fg == C_DEFAULT ? nm_fg_color in set_win_colors()
223 : screen_color[CGET_ANSI(sgr->fg)]; in set_win_colors()
229 fg |= 8; in set_win_colors()
236 tmp = fg; in set_win_colors()
237 fg = bg; in set_win_colors()
242 fg = bg ^ 8; in set_win_colors()
244 WIN32setcolors(fg, bg); in set_win_colors()