From 82f5a5150b82c3d99a437c13ff342078842fa474 Mon Sep 17 00:00:00 2001 From: David Chisnall Date: Thu, 9 Jan 2025 13:14:57 +0000 Subject: [PATCH] Reset the colour correctly after assertion failures. --- sdk/lib/debug/debug.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdk/lib/debug/debug.cc b/sdk/lib/debug/debug.cc index d855a3fb..b61eb617 100644 --- a/sdk/lib/debug/debug.cc +++ b/sdk/lib/debug/debug.cc @@ -375,5 +375,5 @@ debug_report_failure(const char *kind, printer.write(function); printer.write("\x1b[36m\n"); printer.format(format, arguments, argumentCount); - printer.write("\n"); + printer.write("\033[0m\n"); }