From 1b0d6a43048d7497bb6200b35974053693616890 Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Mon, 4 Jan 2016 00:21:31 +0100 Subject: WAGE: Implement command execution --- engines/wage/wage.cpp | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'engines') 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"); -- cgit v1.2.3