mirror of
https://github.com/perk11/runwhenidle.git
synced 2026-01-08 05:13:57 -05:00
Make errors bold
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user