Skip to content

sindresorhus/terminal-size-cli

Repository files navigation

terminal-size-cli

Reliably get the terminal window size - cross-platform

Install

npm install --global terminal-size-cli

Usage

$ terminal-size --help

  Example
    $ terminal-size
    143
    24

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

Related

About

Reliably get the terminal window size - cross-platform

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •