From 7073b163a2cf36c281dd2efdfab7148e1ea32921 Mon Sep 17 00:00:00 2001 From: David Phillips Date: Mon, 11 Mar 2019 16:17:46 +1300 Subject: Honour original terminal colour --- sand-leek.c | 4 ++-- 1 file 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(...) \ -- cgit v1.1