Lines Matching defs:colors
106 /* colors for file types */
110 } colors[C_NUMCOLORS];
549 if (colors[c].bold)
552 if (colors[c].num[0] != -1) {
553 ansiseq = tgoto(ansi_fgcol, 0, colors[c].num[0]);
557 if (colors[c].num[1] != -1) {
558 ansiseq = tgoto(ansi_bgcol, 0, colors[c].num[1]);
570 if (colors[c].bold)
572 if (colors[c].num[0] != -1)
573 printf(";3%d", colors[c].num[0]);
574 if (colors[c].num[1] != -1)
575 printf(";4%d", colors[c].num[1]);
669 colors[i].bold = 0;
681 colors[i].num[j] = c[j] - '0';
689 colors[i].num[j] = c[j] - 'a';
691 colors[i].num[j] = c[j] - 'A';
692 colors[i].bold = 1;
694 colors[i].num[j] = -1;
698 colors[i].num[j] = -1;