From dc66276b21a5c84c0595956a20eaa15e9dcf4803 Mon Sep 17 00:00:00 2001 From: CyberLeo Date: Fri, 15 Oct 2010 12:23:01 -0500 Subject: [PATCH] script/lib/ansi: add additional ANSI style codes --- script/lib/ansi.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/script/lib/ansi.sh b/script/lib/ansi.sh index 7c31ba1..c76b11e 100644 --- a/script/lib/ansi.sh +++ b/script/lib/ansi.sh @@ -8,6 +8,17 @@ then e="$(printf "\033")" a_normal="$e[0m" + # ANSI styles + a_bright="$e[1m" + a_dim="$e[2m" + a_italic="$e[3m" # Probably won't work + a_underline="$e[4m" # Probably won't work + a_blink="$e[5m" # Annoying; probably won't work + a_flash="$e[6m" # Probably won't work + a_inverse="$e[7m" + a_conceal="$e[8m" # Probably won't work + a_strike="$e[9m" # Probably won't work + # ANSI colors a_red="$e[1;31m" a_green="$e[1;32m" -- 2.42.0