Send a key event to tty's callback.
Note: Currently this does not work.
On Windows this event can only be observed by during calls to Tty.read or Tty.readWithTimeout. This event is not supported on other platforms.