aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorEugene Sandulenko2017-07-31 20:16:01 +0200
committerEugene Sandulenko2017-08-01 10:42:22 +0200
commit8643a0835074a05e4ff5db8378a51201953a314f (patch)
tree7d463de40effe44e560abc063cf5309530674016 /engines
parentebcff3a0aaa47afe6024fa753852a6585e91edf0 (diff)
downloadscummvm-rg350-8643a0835074a05e4ff5db8378a51201953a314f.tar.gz
scummvm-rg350-8643a0835074a05e4ff5db8378a51201953a314f.tar.bz2
scummvm-rg350-8643a0835074a05e4ff5db8378a51201953a314f.zip
WAGE: Properly add input text to console on Enter
Diffstat (limited to 'engines')
-rw-r--r--engines/wage/wage.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/wage/wage.cpp b/engines/wage/wage.cpp
index 64965de966..8d5a1e088f 100644
--- a/engines/wage/wage.cpp
+++ b/engines/wage/wage.cpp
@@ -178,6 +178,7 @@ void WageEngine::processEvents() {
case Common::KEYCODE_RETURN:
_inputText = _gui->_consoleWindow->getInput();
+ _inputText += '\n';
_gui->appendText(_inputText.c_str());