aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Phillips <david@yeah.nah.nz>2019-03-11 16:17:46 +1300
committerDavid Phillips <david@yeah.nah.nz>2019-03-11 16:19:31 +1300
commit7073b163a2cf36c281dd2efdfab7148e1ea32921 (patch)
treec8b8d222f11af3149b6711490438371ff9092a03
parent331b908a65b85d320722b6d4f029a9571e908c04 (diff)
downloadsand-leek-7073b163a2cf36c281dd2efdfab7148e1ea32921.tar.xz
Honour original terminal colour
-rw-r--r--sand-leek.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sand-leek.c b/sand-leek.c
index b36c87e..ff96448 100644
--- a/sand-leek.c
+++ b/sand-leek.c
@@ -84,7 +84,7 @@ static const struct unit_label time_labels[] = {
#define eprintf(format, ...) \
iprintf_bare("%sERROR: %s" format, \
no_ansi_esc ? "" : COLOUR_BOLD_OFF COLOUR_RED, \
- no_ansi_esc ? "" : COLOUR_BWHITE, \
+ no_ansi_esc ? "" : COLOUR_ALL_OFF COLOUR_BOLD, \
##__VA_ARGS__);
/* "Real" iprintf, information printf. Outputs a message to stderr, prefixed
@@ -92,7 +92,7 @@ static const struct unit_label time_labels[] = {
#define iprintf(format, ...) \
iprintf_bare("%sINFO: %s" format, \
no_ansi_esc ? "" : COLOUR_BOLD_OFF COLOUR_CYAN, \
- no_ansi_esc ? "" : COLOUR_BWHITE, \
+ no_ansi_esc ? "" : COLOUR_ALL_OFF COLOUR_BOLD, \
##__VA_ARGS__);
#else /* SAND_LEEK_DISABLE_COLOUR */
#define eprintf(...) \