diff options
Diffstat (limited to 'include/consts')
-rw-r--r-- | include/consts | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/include/consts b/include/consts index e85c00b6..f49df395 100644 --- a/include/consts +++ b/include/consts @@ -329,33 +329,33 @@ unset LANG # # Normal color names - CYAN="[0;36m" - BLUE="[0;34m" - BROWN="[0;33m" - DARKGRAY="[0;30m" - GRAY="[0;37m" - GREEN="[1;32m" - LIGHTBLUE="[0;94m" - MAGENTA="[1;35m" - PURPLE="[0;35m" - RED="[1;31m" - YELLOW="[1;33m" - WHITE="[1;37m" + CYAN="$(printf '\033[0;36m')" + BLUE="$(printf '\033[0;34m')" + BROWN="$(printf '\033[0;33m')" + DARKGRAY="$(printf '\033[0;30m')" + GRAY="$(printf '\033[0;37m')" + GREEN="$(printf '\033[1;32m')" + LIGHTBLUE="$(printf '\033[0;94m')" + MAGENTA="$(printf '\033[1;35m')" + PURPLE="$(printf '\033[0;35m')" + RED="$(printf '\033[1;31m')" + YELLOW="$(printf '\033[1;33m')" + WHITE="$(printf '\033[1;37m')" # Markup BOLD="${WHITE}" # With background - BG_BLUE="[0;44m" + BG_BLUE="$(printf '\033[0;44m')" # Semantic names HEADER="${WHITE}" - NORMAL="[0;39m" - WARNING="[1;31m" # Bad (red) - SECTION="[1;33m" # Section (yellow) - NOTICE="[1;33m" # Notice (yellow) - OK="[1;32m" # Ok (green) - BAD="[1;31m" # Bad (red) + NORMAL="$(printf '\033[0m')" + WARNING="${RED}" + SECTION="${YELLOW}" + NOTICE="${YELLOW}" + OK="${GREEN}" + BAD="${RED}" # ################################################################################# |