aboutsummaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorLibravatar Tudor Brindus <me@tbrindus.ca>2020-05-23 11:11:50 -0400
committerLibravatar Simon Ser <contact@emersion.fr>2020-05-24 14:54:05 +0200
commitc632d47bf811d246ea2f4874e6dda6b85a3b95ff (patch)
tree72de04850ac1dd80ecf036557ee3806cde182203 /common
parentipc: show marks of containers without view in tree (diff)
downloadsway-c632d47bf811d246ea2f4874e6dda6b85a3b95ff.tar.gz
sway-c632d47bf811d246ea2f4874e6dda6b85a3b95ff.tar.zst
sway-c632d47bf811d246ea2f4874e6dda6b85a3b95ff.zip
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 (limited to 'common')
-rw-r--r--common/log.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/log.c b/common/log.c
index 9e79c4e6..2acf2e57 100644
--- a/common/log.c
+++ b/common/log.c
@@ -42,7 +42,7 @@ static const char *verbosity_colors[] = {
42 [SWAY_SILENT] = "", 42 [SWAY_SILENT] = "",
43 [SWAY_ERROR ] = "\x1B[1;31m", 43 [SWAY_ERROR ] = "\x1B[1;31m",
44 [SWAY_INFO ] = "\x1B[1;34m", 44 [SWAY_INFO ] = "\x1B[1;34m",
45 [SWAY_DEBUG ] = "\x1B[1;30m", 45 [SWAY_DEBUG ] = "\x1B[1;90m",
46}; 46};
47 47
48static void timespec_sub(struct timespec *r, const struct timespec *a, 48static void timespec_sub(struct timespec *r, const struct timespec *a,