diff options
author | Lyndon Brown <jnqnfe@gmail.com> | 2020-03-07 08:50:52 +0000 |
---|---|---|
committer | Raphaƫl Hertzog <hertzog@debian.org> | 2020-03-09 12:52:08 +0000 |
commit | 62b3efa6869a79b0f134203f87fbc9234b0d9d4d (patch) | |
tree | f61cc4ee3629ea3e22f74de5d0732825f972884c | |
parent | a6c4094cf02fb0458cf8af204cd4abceae20c980 (diff) | |
download | vyos-live-build-62b3efa6869a79b0f134203f87fbc9234b0d9d4d.tar.gz vyos-live-build-62b3efa6869a79b0f134203f87fbc9234b0d9d4d.zip |
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
-rwxr-xr-x | functions/color.sh | 1 | ||||
-rwxr-xr-x | functions/echo.sh | 2 |
2 files changed, 2 insertions, 1 deletions
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 |