aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 82ec467..dcd4041 100644
--- a/src/console/components/console.js
+++ b/src/console/components/console.js
@@ -107,6 +107,8 @@ export default class ConsoleComponent {
command.style.display = 'block';
input.value = text;
input.focus();
+
+ window.focus();
this.prevValue = '';
}