Pty.getSize

Reads the pseudo terminal's window size.

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

class Pty
bool
getSize
(
out int rows
,
out int columns
)

Parameters

rows int

a location to store the number of rows, or null

columns int

a location to store the number of columns, or null

Return Value

Type: bool

true on success, false on failure with error filled in