InputReceiver

interface InputReceiver<T>

An object that can receive input events.

Inheritors

Types

Link copied to clipboard
sealed class Status<out T>

Properties

Link copied to clipboard
abstract val terminal: Terminal

The terminal that this receiver is reading input from.

Functions

Link copied to clipboard

Receive an input event.

Link copied to clipboard
fun <T> InputReceiver<T>.receiveEvents(mouseTracking: MouseTracking = MouseTracking.Normal): T

Enter raw mode, read input from the terminal for this InputReceiver until it returns a result, then exit raw mode.