Website Summary Files Commits Branches @commit @diff @stats
path: root / src / ConsoleInterface / Menu.cpp
diff options
context:
space:
mode:
1 files changed, 4 insertions, 4 deletions
-rw-r--r--src/ConsoleInterface/Menu.cpp8
diff --git a/src/ConsoleInterface/Menu.cpp b/src/ConsoleInterface/Menu.cpp
index ae51c40..beb69c2 100644
--- a/src/ConsoleInterface/Menu.cpp
+++ b/src/ConsoleInterface/Menu.cpp
@@ -51,11 +51,11 @@ void Menu::navigate() const {
while (buffer != 0) {
clear();
- printTitle(title);
+ title(title);
switch(msgType) {
- case Error: printError(msg.get_cstr()); msgType = NoPrint; break;
- case Warning: printWarning(msg.get_cstr()); msgType = NoPrint; break;
- case Success: printSuccess(msg.get_cstr()); msgType = NoPrint; break;
+ case Error: error(msg.get_cstr()); msgType = NoPrint; break;
+ case Warning: warning(msg.get_cstr()); msgType = NoPrint; break;
+ case Success: success(msg.get_cstr()); msgType = NoPrint; break;
case NoPrint: printLine(""); break;
}
printLine("");