Skip to content

Commit

Permalink
WAGE: Fix behavior of the multiline paste
Browse files Browse the repository at this point in the history
  • Loading branch information
sev- committed Feb 14, 2016
1 parent 1e2d292 commit fcebf28
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions engines/wage/gui-console.cpp
Expand Up @@ -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);
}
Expand Down

0 comments on commit fcebf28

Please sign in to comment.