aboutsummaryrefslogtreecommitdiff
path: root/src/console
diff options
context:
space:
mode:
Diffstat (limited to 'src/console')
-rw-r--r--src/console/components/console.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/console/components/console.js b/src/console/components/console.js
index e83a1c9..38e32d7 100644
--- a/src/console/components/console.js
+++ b/src/console/components/console.js
@@ -36,6 +36,8 @@ export default class ConsoleComponent {
case KeyboardEvent.DOM_VK_ESCAPE:
return this.hideCommand();
case KeyboardEvent.DOM_VK_RETURN:
+ e.stopPropagation();
+ e.preventDefault();
return this.onEntered(e.target.value);
case KeyboardEvent.DOM_VK_TAB:
if (e.shiftKey) {