bfckr.c
/**
 * @brief       Colorize the ouput string using a colorscheme table
 * @type        static
 * @param[in]   Single character to be colorized
 * @return      Colorized string
 **/
@brief       Colorize the ouput string using a colorscheme table
@type        static
@param[in]   Single character to be colorized
@return      Colorized string
@brief Colorize the ouput string using a colorscheme table @type static @param [ in ] Single character to be colorized @return Colorized string
static char *colorize(char c)
{
    char *cs = 0; 
    switch(c) {
    case '<':
        cs = colortheme[0];
        break;
    case '>':
        cs = colortheme[1];
        break;
    case '[':
        cs = colortheme[2];
        break;
    case ']':
        cs = colortheme[3];
        break;
    case '+':
        cs = colortheme[4];
        break;
    case '-':
        cs = colortheme[5];
        break;
    case '.':
        cs = colortheme[6];
        break;
    case ',':
        cs = colortheme[7];
        break;
    case '#':
        cs = colortheme[8];
        break;
    default:
        ;
        break;
    }
    return cs;
}
static char * colorize ( char c ) { char * cs = 0 ; switch ( c ) { case ' ' : cs = colortheme [ 0 ] ; break ; case ' ' : cs = colortheme [ 1 ] ; break ; case ' ' : cs = colortheme [ 2 ] ; break ; case ' ' : cs = colortheme [ 3 ] ; break ; case ' ' : cs = colortheme [ 4 ] ; break ; case ' ' : cs = colortheme [ 5 ] ; break ; case ' ' : cs = colortheme [ 6 ] ; break ; case ' ' : cs = colortheme [ 7 ] ; break ; case ' ' : cs = colortheme [ 8 ] ; break ; default : ; break ; } return cs ; }
@brief       Colorize the ouput string using a colorscheme table
 @type        static
 @param[in]   Single character to be colorized
 @return      Colorized string
@brief Colorize the ouput string using a colorscheme table @type static @param [ in ] Single character to be colorized @return Colorized string
// colorstring