Website Summary Files Commits Branches @commit @diff @stats
path: root / src / ConsoleInterface
diff options
context:
space:
mode:
1 files changed, 8 insertions, 0 deletions
-rw-r--r--src/ConsoleInterface/Toolbox.hpp8
diff --git a/src/ConsoleInterface/Toolbox.hpp b/src/ConsoleInterface/Toolbox.hpp
index dcb9459..f7f0447 100644
--- a/src/ConsoleInterface/Toolbox.hpp
+++ b/src/ConsoleInterface/Toolbox.hpp
@@ -63,4 +63,12 @@ void inputLineBox(const char* label, char* output, unsigned maxWidth) {
std::cin.getline(output, maxWidth);
}
+void printTitle(const char* title) {
+ std::cout << "## " << title << " ##";
+}
+
+void printError(const char* message) {
+ std::cout << "! Err: " << message;
+}
+
#endif