Readonly
cols(EXPERIMENTAL)
Whether to handle flow control. Useful to disable/re-enable flow control during runtime.
Use this for binary data that is likely to contain the flowControlPause
string by accident.
Readonly
onAdds an event listener for when a data event fires. This happens when data is returned from the pty.
Readonly
onAdds an event listener for when an exit event fires. This happens when the pty exits.
Readonly
pidThe process ID of the outer process.
Readonly
processThe title of the active process.
Readonly
rowsThe row size in characters.
Clears the pty's internal representation of its buffer. This is a no-op unless on Windows/ConPTY. This is useful if the buffer is cleared on the frontend in order to synchronize state with the backend to avoid ConPTY possibly reprinting the screen.
Pauses the pty for customizable flow control.
Resizes the dimensions of the pty.
The number of columns to use.
The number of rows to use.
Resumes the pty for customizable flow control.
Writes data to the pty.
The data to write.
The column size in characters.