WebUI X Documentation
    Preparing search index...

    Interface PtyInstanceInternal

    Represents an instance of a pseudo-terminal (PTY). Provides methods to interact with the PTY, such as writing data, killing the process, and resizing the terminal window.

    v213

    interface PtyInstance {
        kill(): void;
        resize(cols: number, rows: number): void;
        write(data: String): void;
    }
    Index

    Methods

    Methods

    • Terminates the PTY process.

      Returns void

    • Resizes the PTY terminal window.

      Parameters

      • cols: number

        The number of columns for the terminal.

      • rows: number

        The number of rows for the terminal.

      Returns void

    • Writes data to the PTY.

      Parameters

      • data: String

        The string data to be written to the terminal.

      Returns void