mirror of
https://github.com/ziglang/zig.git
synced 2025-12-28 17:13:19 +00:00
stage2: fix error message coloring
After 7a4b53fdee89f2d61cedbb3cef3bda24dacf2a57, bold no longer changes the color back, so we need an extra reset.
This commit is contained in:
parent
f4ee46e839
commit
751bb12a96
@ -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);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user