Focus on the screen when keyboard register is read

This commit is contained in:
Joshua Bell 2021-03-31 20:06:14 -07:00
parent f5651d24f9
commit e15655e105

1
tty.js
View File

@ -872,6 +872,7 @@ function TTY(screenElement, keyboardElement) {
this.getKeyboardRegister = function getKeyboardRegister() {
self.focus();
return keyboardRegister;
};