diff options
author | Konstantin Pereiaslov <perk11@perk11.info> | 2024-01-08 00:32:31 -0600 |
---|---|---|
committer | Konstantin Pereiaslov <perk11@perk11.info> | 2024-01-08 00:32:31 -0600 |
commit | e9792203a86a7f66f0cc70e4aac07ced898f5fa6 (patch) | |
tree | 0c29a028ebde5d8e0ea7abd70f2268b1d1d020f5 | |
parent | 72eca0b87e1b61313ccbe118f08729dc573f420c (diff) |
Make errors bold
-rw-r--r-- | tty_utils.c | 2 |
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); |