summaryrefslogtreecommitdiff
path: root/gui.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'gui.cpp')
-rw-r--r--gui.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/gui.cpp b/gui.cpp
index 4d4a723..df865ea 100644
--- a/gui.cpp
+++ b/gui.cpp
@@ -152,6 +152,10 @@ void ConsoleWindow::add_line(const char *line) {
void ConsoleWindow::update() {
MouseCursor::getSingleton().show();
+}
+
+void ConsoleWindow::show() {
+ GUI::show();
WindowManager::getSingleton().getWindow("console_editbox")->activate();
}