Make errors bold

This commit is contained in:
Konstantin Pereiaslov
2024-01-08 00:32:31 -06:00
parent 72eca0b87e
commit e9792203a8

View File

@@ -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);