/** @file color.c \brief Color output for terminals. * * Depends on the switches (to disable them with a --plain switch) */ #include #include #include #include "switches.h" char *empty = ""; char *COLOR_Reset = ""; char *COLOR_Red = ""; char *COLOR_Green = ""; char *COLOR_Bold = ""; void colorInit (void) { if (switches.plain) { COLOR_Reset = empty; COLOR_Red = empty; COLOR_Green = empty; COLOR_Bold = empty; } } void colorDone (void) { }