Website Summary Files Commits Branches @commit @diff @stats
path: root / src / ConsoleInterface
diff options
context:
space:
mode:
1 files changed, 6 insertions, 2 deletions
-rw-r--r--src/ConsoleInterface/Toolbox.hpp8
diff --git a/src/ConsoleInterface/Toolbox.hpp b/src/ConsoleInterface/Toolbox.hpp
index f7f0447..666ddfc 100644
--- a/src/ConsoleInterface/Toolbox.hpp
+++ b/src/ConsoleInterface/Toolbox.hpp
@@ -64,11 +64,15 @@ void inputLineBox(const char* label, char* output, unsigned maxWidth) {
}
void printTitle(const char* title) {
- std::cout << "## " << title << " ##";
+ std::cout << "## " << title << " ##" << std::endl;
+}
+
+void printSuccess(const char* message) {
+ std::cout << ") " << message << std::endl;
}
void printError(const char* message) {
- std::cout << "! Err: " << message;
+ std::cout << "! Err: " << message << std::endl;
}
#endif