use '\033' instead of '\e' for output-formatting

'\e' is a GNU shortcut for \033. Also gcc complained (warning) that '\e'
was a non-ISO standard. Less warnings, the prettier :)
This commit is contained in:
Jason Pleau 2015-04-05 17:06:39 -04:00
parent 91fcc76cb2
commit 34e578ef86

View file

@ -263,23 +263,23 @@ struct _Switcher
void menu_unmap ( void );
#define color_reset "\e[0m"
#define color_bold "\e[1m"
#define color_reset "\033[0m"
#define color_bold "\033[1m"
#define color_underline "\033[4m"
#define color_black "\e[0;30m"
#define color_red "\e[0;31m"
#define color_green "\e[0;32m"
#define color_yellow "\e[0;33m"
#define color_blue "\e[0;34m"
#define color_magenta "\e[0;35m"
#define color_cyan "\e[0;36m"
#define color_white "\e[0;37m"
#define color_white_bold "\e[1;37m"
#define color_black_bold "\e[1;30m"
#define color_red_bold "\e[1;31m"
#define color_green_bold "\e[1;32m"
#define color_yellow_bold "\e[1;33m"
#define color_blue_bold "\e[1;34m"
#define color_magenta_bold "\e[1;35m"
#define color_cyan_bold "\e[1;36m"
#define color_black "\033[0;30m"
#define color_red "\033[0;31m"
#define color_green "\033[0;32m"
#define color_yellow "\033[0;33m"
#define color_blue "\033[0;34m"
#define color_magenta "\033[0;35m"
#define color_cyan "\033[0;36m"
#define color_white "\033[0;37m"
#define color_white_bold "\033[1;37m"
#define color_black_bold "\033[1;30m"
#define color_red_bold "\033[1;31m"
#define color_green_bold "\033[1;32m"
#define color_yellow_bold "\033[1;33m"
#define color_blue_bold "\033[1;34m"
#define color_magenta_bold "\033[1;35m"
#define color_cyan_bold "\033[1;36m"
#endif