diff --git a/tty.js b/tty.js index 4e2c642..3cbf0ae 100644 --- a/tty.js +++ b/tty.js @@ -872,6 +872,7 @@ function TTY(screenElement, keyboardElement) { this.getKeyboardRegister = function getKeyboardRegister() { + self.focus(); return keyboardRegister; };