stage2: fix error message coloring
After 7a4b53fdee, bold no longer changes
the color back, so we need an extra reset.
This commit is contained in:
@@ -349,6 +349,7 @@ pub const AllErrors = struct {
|
||||
ttyconf.setColor(stderr, color);
|
||||
try stderr.writeByteNTimes(' ', indent);
|
||||
try stderr.writeAll(kind);
|
||||
ttyconf.setColor(stderr, .Reset);
|
||||
ttyconf.setColor(stderr, .Bold);
|
||||
try stderr.print(" {s}\n", .{src.msg});
|
||||
ttyconf.setColor(stderr, .Reset);
|
||||
|
||||
Reference in New Issue
Block a user