From bf714efa4116fc686a196386779a428b3b22d993 Mon Sep 17 00:00:00 2001 From: James Puleo Date: Thu, 23 Dec 2021 11:05:09 -0500 Subject: [PATCH] LibMain: Make "Runtime error" `warnln` red Stealing what Andreas did for the `dbgln` output, I think it also looks nice inside of Terminal :^) --- Userland/Libraries/LibMain/Main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Userland/Libraries/LibMain/Main.cpp b/Userland/Libraries/LibMain/Main.cpp index 2a4cf8371e..8c535ccd0d 100644 --- a/Userland/Libraries/LibMain/Main.cpp +++ b/Userland/Libraries/LibMain/Main.cpp @@ -24,7 +24,7 @@ int main(int argc, char** argv) }); if (result.is_error()) { auto error = result.release_error(); - warnln("Runtime error: {}", error); + warnln("\033[31;1mRuntime error\033[0m: {}", error); #ifdef __serenity__ dbgln("\033[31;1mExiting with runtime error\033[0m: {}", error); #endif