diff --git a/error.hpp b/error.hpp index f57d965..5f4c474 100644 --- a/error.hpp +++ b/error.hpp @@ -2,8 +2,10 @@ void print_error(const char *message) { - printf("\e[91m\e[1m" - "Error:\n" + printf("\e[41m\e[1m" + "Error:" + "\e[49m\n" + "\e[91m" "%s\n", message); } diff --git a/main.cpp b/main.cpp index c8d9753..d6894a3 100644 --- a/main.cpp +++ b/main.cpp @@ -248,7 +248,7 @@ int main(int argc, char **argv) if (!std::filesystem::exists(filename)) { - print_error(("Path '" + filename + "' does not exist!").c_str()); + print_error(("Path \"" + filename + "\" does not exist!").c_str()); abort(); }