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).
This commit is contained in:
Lyndon Brown 2020-03-11 22:05:27 +00:00 committed by Raphaël Hertzog
parent 5a1c875cb8
commit 346e3e1c36
1 changed files with 1 additions and 1 deletions

View File

@ -48,7 +48,7 @@ Echo_message ()
STRING="${1}" STRING="${1}"
shift shift
local PREFIX="${BOLD}P${NO_COLOR}" local PREFIX="${PURPLE}P${NO_COLOR}"
if [ "${_COLOR}" = "false" ]; then if [ "${_COLOR}" = "false" ]; then
PREFIX="P" PREFIX="P"
fi fi