enum TtyRead
source · line 19public
public enum TtyRead
The outcome of a terminal read: bytes, resize notification, end of input, or timeout.
variant TimedOut
source · line 35public
TimedOut
No input or resize was delivered before the requested timeout.
variant End
source · line 31public
End
Terminal input has ended.
variant Bytes
source · line 23public
Bytes(val count: Long)
The returned count of bytes appended to the input buffer.
parameter count
source · line 23public
val count: Long
field count
source · line 23public
val count: Long
variant Resize
source · line 27public
Resize(val columns: Long, val rows: Long)
A new terminal size in columns and rows.
field rows
source · line 27public
val rows: Long
parameter columns
source · line 27public
val columns: Long
parameter rows
source · line 27public
val rows: Long
field columns
source · line 27public
val columns: Long
function equals
source · line 19publiccompiler-derived
operator fun equals(other: TtyRead): Boolean
This derived operation is available when each field or payload type supports same-type equality. Required types: Long.