/term-size-cli

Reliably get the terminal window size - cross-platform

Primary LanguageJavaScriptMIT LicenseMIT

term-size-cli

Reliably get the terminal window size - cross-platform

Install

$ npm install --global term-size-cli

Usage

$ term-size --help

  Example
    $ term-size
    143
    24

  First line is the number of columns
  Second line is the number of rows

Related