From 346e3e1c36f8dc61e93fdd76dd28174d85e2aa5d Mon Sep 17 00:00:00 2001 From: Lyndon Brown Date: Wed, 11 Mar 2020 22:05:27 +0000 Subject: [PATCH] fix colouring of notice type message prefixes previously this was white+bold. the white aspect was dropped since this would not be sensible for users with a white background for their terminal. bold however does not have any effect for me at least so effectively there is no highlighting at all. here we reintroduce a colour, one that will work for both black and white backgrounds of course. purple looks good to me - significantly different to that used for errors and warnings, and works well with command highlighting (as enabled separately). --- functions/echo.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions/echo.sh b/functions/echo.sh index 31c118239..af3c4ca56 100755 --- a/functions/echo.sh +++ b/functions/echo.sh @@ -48,7 +48,7 @@ Echo_message () STRING="${1}" shift - local PREFIX="${BOLD}P${NO_COLOR}" + local PREFIX="${PURPLE}P${NO_COLOR}" if [ "${_COLOR}" = "false" ]; then PREFIX="P" fi