echo: fix bad colour choice
white is not going to work well on a terminal with a white background, obviously. We should keep the standard colour and just try applying the bold. or do we want to consider a non black/white colour? like blue...? Gbp-Dch: Short
This commit is contained in:
parent
a6c4094cf0
commit
62b3efa686
|
@ -10,6 +10,7 @@
|
||||||
|
|
||||||
NO_COLOR="\033[0m"
|
NO_COLOR="\033[0m"
|
||||||
|
|
||||||
|
BOLD="\033[1m"
|
||||||
UNDERSCORE="\033[4m"
|
UNDERSCORE="\033[4m"
|
||||||
BLINK="\033[5m"
|
BLINK="\033[5m"
|
||||||
|
|
||||||
|
|
|
@ -46,7 +46,7 @@ Echo_message ()
|
||||||
STRING="${1}"
|
STRING="${1}"
|
||||||
shift
|
shift
|
||||||
|
|
||||||
local PREFIX="${WHITE}P${NO_COLOR}"
|
local PREFIX="${BOLD}P${NO_COLOR}"
|
||||||
if [ "${_COLOR}" = "false" ]; then
|
if [ "${_COLOR}" = "false" ]; then
|
||||||
PREFIX="P"
|
PREFIX="P"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue