TestTerminal
Types
Properties
The client standard input, output, and error streams.
The client Tty whose output can be read here by readTty and for which input can be sent with writeTty. Size changes can be sent with resize, along with the Windows-specific sendFocusEvent, sendKeyEvent, and sendMouseEvent.
Functions
Signal blocking calls to readStandardOutput or readStandardOutputWithTimeout to wake up and return 0.
Read up to count bytes into buffer at offset from the standard error stream. The number of bytes read will be returned. 0 will be returned if interruptStandardErrorRead is called while waiting for data.
Read up to count bytes into buffer at offset from the standard error stream. The number of bytes read will be returned. 0 will be returned if interruptStandardErrorRead is called while waiting for data, or if at least timeoutMillis have passed without data.
Read up to count bytes into buffer at offset from the standard output stream. The number of bytes read will be returned. 0 will be returned if interruptStandardOutputRead is called while waiting for data.
Read up to count bytes into buffer at offset from the standard output stream. The number of bytes read will be returned. 0 will be returned if interruptStandardOutputRead is called while waiting for data, or if at least timeoutMillis have passed without data.
Read up to count bytes into buffer at offset from the PTY. The number of bytes read will be returned. 0 will be returned if interruptTtyRead is called while waiting for data.
Read up to count bytes into buffer at offset from the PTY. The number of bytes read will be returned. 0 will be returned if interruptTtyRead is called while waiting for data, or if at least timeoutMillis have passed without data.