Pty.setSize

Attempts to resize the pseudo terminal's window size. If successful, the OS kernel will send SIGWINCH to the child process group. If setting the window size failed, error will be set to a GIOError.

class Pty
int
setSize
(
int rows
,)

Parameters

rows int

the desired number of rows

columns int

the desired number of columns

Return Value

Type: int

TRUE on success, FALSE on failure with error filled in Since 0.26

Throws

GException on failure.

Meta