Module tutil::screen [] [src]

Functions for detecting the terminal screen size.

OS Support

The following operating systems are supported:

  • Linux
  • macOS
  • FreeBSD
  • Windows

Structs

Height

Represents the height of a terminal.

Width

Represents the width of a terminal.

Functions

height

Returns the terminal height.

size

Returns the terminal screen size.

width

Returns the terminal screen width.