summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibMain
diff options
context:
space:
mode:
authorJames Puleo <james@jame.xyz>2021-12-23 11:05:09 -0500
committerBrian Gianforcaro <b.gianfo@gmail.com>2021-12-23 12:41:13 -0800
commitbf714efa4116fc686a196386779a428b3b22d993 (patch)
tree68f908d2b09756a8c704078778c86b5656efe18b /Userland/Libraries/LibMain
parent1d08b671ea2dd3186443b19232ec2d5215ebed59 (diff)
downloadserenity-bf714efa4116fc686a196386779a428b3b22d993.zip
LibMain: Make "Runtime error" `warnln` red
Stealing what Andreas did for the `dbgln` output, I think it also looks nice inside of Terminal :^)
Diffstat (limited to 'Userland/Libraries/LibMain')
-rw-r--r--Userland/Libraries/LibMain/Main.cpp2
1 files changed, 1 insertions, 1 deletions
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