aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/wage/gui-console.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/wage/gui-console.cpp b/engines/wage/gui-console.cpp
index 0d9fb394c4..414d13f27d 100644
--- a/engines/wage/gui-console.cpp
+++ b/engines/wage/gui-console.cpp
@@ -336,6 +336,7 @@ void Gui::actionPaste() {
_undobuffer = _engine->_inputText;
_engine->_inputText += _clipboard;
drawInput();
+ _engine->_inputText = _out.back(); // Set last part of the multiline text
_menu->enableCommand(kMenuEdit, kMenuActionUndo, true);
}