Skip to content

TerminalSize

Current terminal dimensions in columns and rows.

Signatures

ts
interface TerminalSize {}

Members

Properties

columns

Terminal width in columns.

ts
columns: number;

rows

Terminal height in rows.

ts
rows: number;

See Also

Released under the MIT License.