mirror of
https://github.com/lbonn/rofi
synced 2024-11-15 16:38:00 +00:00
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:
parent
91fcc76cb2
commit
34e578ef86
1 changed files with 18 additions and 18 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue