force console focus

jh-changes
Shin'ya Ueoka 7 years ago
parent 903c9c78b7
commit 71d35005b4
  1. 2
      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 = '';
}