win-term-size
Get the terminal window size on Windows
Works even when run non-interactively, for example, in a child process or when piped.
Install
Download the binary and put it somewhere in your %path%
.
Usage
$ term-size
143
24
Where 143
are number of columns and 24
are the number of rows.
Build
Install MinGW-w64
and run:
$ build
Related
- term-size - Get the terminal window size - cross-platform
License
MIT © Sindre Sorhus