force console focus
This commit is contained in:
parent
903c9c78b7
commit
71d35005b4
1 changed files with 2 additions and 0 deletions
|
@ -107,6 +107,8 @@ export default class ConsoleComponent {
|
|||
command.style.display = 'block';
|
||||
input.value = text;
|
||||
input.focus();
|
||||
|
||||
window.focus();
|
||||
this.prevValue = '';
|
||||
}
|
||||
|
||||
|
|
Reference in a new issue