Pty.getSize

bool getSize(out int rows, out int columns)

Reads the pseudo terminal's window size.

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

Parameters

rowsa location to store the number of rows, or null
columnsa location to store the number of columns, or null

Returns

true on success, false on failure with error filled in

Throws

[ErrorWrap]