commit | bea973dae848c109147967ce37f5a0ad1738382d | [log] [tgz] |
---|---|---|
author | David Chisnall <github@theravensnest.org> | Thu Jan 09 13:14:57 2025 +0000 |
committer | David Chisnall <davidchisnall@users.noreply.github.com> | Tue Jan 14 17:45:55 2025 +0000 |
tree | fc589eb0157a29d87926e329a4beef52d2326b89 | |
parent | e5dd588cf711120ae051738f4992fbdeb3798126 [diff] |
Reset the colour correctly after assertion failures.
diff --git a/sdk/lib/debug/debug.cc b/sdk/lib/debug/debug.cc index d855a3f..b61eb61 100644 --- a/sdk/lib/debug/debug.cc +++ b/sdk/lib/debug/debug.cc
@@ -375,5 +375,5 @@ printer.write(function); printer.write("\x1b[36m\n"); printer.format(format, arguments, argumentCount); - printer.write("\n"); + printer.write("\033[0m\n"); }