summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tty_utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tty_utils.c b/tty_utils.c
index 5c97530..278f9f2 100644
--- a/tty_utils.c
+++ b/tty_utils.c
@@ -17,7 +17,7 @@ void fprintf_error(const char *format, ...) {
va_start(args, format);
bool is_tty = isatty(fileno(stderr));
- if (is_tty) print_colored_prefix(stderr, "31");
+ if (is_tty) print_colored_prefix(stderr, "1;31");
vfprintf(stderr, format, args);
if (is_tty) print_colored_suffix(stderr);