TerminalDimensions

Represents the dimensions of a terminal.

Online Documentation

Properties

Link copied to clipboard
abstract val columns: Int

The number of columns in the terminal.

Link copied to clipboard
abstract val rows: Int

The number of rows in the terminal.