GetConsoleSize (open)

Returns the console size

Syntax

LOADLIB "wh::os.whlib";

RECORD FUNCTION GetConsoleSize()

Return value

RECORD

The size of the console. Throws if console support is not available

INTEGER cols

Number of columns

INTEGER rows

Number of rows