keyEvent

expect fun keyEvent()

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.

actual fun keyEvent()
actual fun keyEvent()