util/log: use bright black rather than black for WLR_DEBUG

On some terminals under default settings, black is truly rendered as
`#000`, making it unreadable when the background is also black.

Refs swaywm/sway#5141.
This commit is contained in:
Tudor Brindus 2020-05-23 11:13:11 -04:00 committed by Simon Ser
parent af2f69e6c1
commit 5c942bd597

View file

@ -17,7 +17,7 @@ static const char *verbosity_colors[] = {
[WLR_SILENT] = "", [WLR_SILENT] = "",
[WLR_ERROR] = "\x1B[1;31m", [WLR_ERROR] = "\x1B[1;31m",
[WLR_INFO] = "\x1B[1;34m", [WLR_INFO] = "\x1B[1;34m",
[WLR_DEBUG] = "\x1B[1;30m", [WLR_DEBUG] = "\x1B[1;90m",
}; };
static const char *verbosity_headers[] = { static const char *verbosity_headers[] = {