diff options
author | James Puleo <james@jame.xyz> | 2021-12-23 11:05:09 -0500 |
---|---|---|
committer | Brian Gianforcaro <b.gianfo@gmail.com> | 2021-12-23 12:41:13 -0800 |
commit | bf714efa4116fc686a196386779a428b3b22d993 (patch) | |
tree | 68f908d2b09756a8c704078778c86b5656efe18b /Userland/Libraries/LibMain | |
parent | 1d08b671ea2dd3186443b19232ec2d5215ebed59 (diff) | |
download | serenity-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.cpp | 2 |
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 |