Screen.size

Obtain the terminal window size. The x, y represent the number of columns and rows. The highest valid address will be coord.x-1, coord.y-1.

interface Screen
Coord
size
()

Return Value

Type: Coord

terminal dimensions

Meta