Pty.setSize

bool setSize(int rows, int columns)

Attempts to resize the pseudo terminal's window size. If successful, the OS kernel will send <literal>SIGWINCH</literal> to the child process group.

If setting the window size failed, error will be set to a #GIOError.

Parameters

rowsthe desired number of rows
columnsthe desired number of columns

Returns

true on success, false on failure with error filled in

Throws

[ErrorWrap]