This looks very similar to what is done inside of the `_keyupHandler`.  Reuse?