Parameters: |
|
---|
The TTY handle provides asynchronous stdin / stdout functionality.
Parameters: | callback (callable) – Callback to be called after shutdown has been performed. |
---|
Shutdown the outgoing (write) direction of the TTY connection.
Callback signature: callback(tty_handle).
Parameters: |
|
---|
Write data on the TTY connection.
Callback signature: callback(tcp_handle, error).
Parameters: |
|
---|
Write data on the TTY connection.
Callback signature: callback(tcp_handle, error).
Parameters: | callback (callable) – Callback to be called when data is read. |
---|
Start reading for incoming data.
Callback signature: callback(status_handle, data).
Stop reading data.
Parameters: | mode (int) – TTY mode. 0 for normal, 1 for raw. |
---|
Set TTY mode.
Get terminal window size.
Reset TTY settings. To be called when program exits.
Read only
Returns the size of the write queue.
Read only
Indicates if this handle is readable.
Read only
Indicates if this handle is writable.