set_a_foreground
if (set_a_foreground) {
TIPARM_1(set_a_foreground, fg),
|| ((set_a_foreground != NULL)
if (set_a_foreground != ABSENT_STRING
&& !strcmp(set_a_foreground, "\033[3%p1%dm")) {
set_a_foreground = strdup("\033[3%?%p1%{8}%>%t9%e%p1%d%;m");
} else if (CHECK_CAP(set_a_foreground)) {
if (set_a_foreground) {
TIPARM_1(set_a_foreground, color), 1, outc);
|| ((set_a_foreground != NULL)
PAIRED(set_a_foreground, set_a_background);
&& VALID_STRING(set_a_foreground)) {
if (!_nc_capcmp(set_foreground, set_a_foreground)) {
} else if (same_color(set_foreground, set_a_foreground, max_colors)) {
|| (VALID_STRING(set_a_foreground)
int color = (value == set_a_foreground ||
CHECK_SGR_PARAM(j, set_a_foreground);