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:
Andrew Kelley 2021-05-16 14:31:55 -07:00
parent f4ee46e839
commit 751bb12a96

View File

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