Pty.setSize

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.

class Pty
bool
setSize
(
int rows
,)

Parameters

rows int

the desired number of rows

columns int

the desired number of columns

Return Value

Type: bool

true on success, false on failure with error filled in