aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/wage/wage.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/engines/wage/wage.cpp b/engines/wage/wage.cpp
index 9a320a2efd..26785b5993 100644
--- a/engines/wage/wage.cpp
+++ b/engines/wage/wage.cpp
@@ -168,6 +168,13 @@ void WageEngine::processEvents() {
}
break;
+ case Common::KEYCODE_RETURN:
+ _gui->appendText(_inputText);
+ processTurn(&_inputText, NULL);
+ _inputText = "";
+ _gui->drawInput();
+ break;
+
default:
if (event.kbd.flags & Common::KBD_ALT || event.kbd.flags & Common::KBD_CTRL) {
warning("STUB: Shortcuts");