From 62b3efa6869a79b0f134203f87fbc9234b0d9d4d Mon Sep 17 00:00:00 2001 From: Lyndon Brown Date: Sat, 7 Mar 2020 08:50:52 +0000 Subject: [PATCH] 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 --- functions/color.sh | 1 + functions/echo.sh | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/functions/color.sh b/functions/color.sh index 6eb401988..43be765f3 100755 --- a/functions/color.sh +++ b/functions/color.sh @@ -10,6 +10,7 @@ NO_COLOR="\033[0m" +BOLD="\033[1m" UNDERSCORE="\033[4m" BLINK="\033[5m" diff --git a/functions/echo.sh b/functions/echo.sh index 0f04f239e..70a5b9041 100755 --- a/functions/echo.sh +++ b/functions/echo.sh @@ -46,7 +46,7 @@ Echo_message () STRING="${1}" shift - local PREFIX="${WHITE}P${NO_COLOR}" + local PREFIX="${BOLD}P${NO_COLOR}" if [ "${_COLOR}" = "false" ]; then PREFIX="P" fi