commit c632d47bf811d246ea2f4874e6dda6b85a3b95ff
parent 848a6fdb21473bfaec32de4a546b79ab53843771
Author: Tudor Brindus <me@tbrindus.ca>
Date: Sat, 23 May 2020 11:11:50 -0400
common/log: use bright black rather than black for SWAY_DEBUG
On some terminals under default settings, black is truly rendered as
`#000`, making it unreadable when the background is also black.
Closes #5141.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/common/log.c b/common/log.c
@@ -42,7 +42,7 @@ static const char *verbosity_colors[] = {
[SWAY_SILENT] = "",
[SWAY_ERROR ] = "\x1B[1;31m",
[SWAY_INFO ] = "\x1B[1;34m",
- [SWAY_DEBUG ] = "\x1B[1;30m",
+ [SWAY_DEBUG ] = "\x1B[1;90m",
};
static void timespec_sub(struct timespec *r, const struct timespec *a,