You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- declare namespace terminalSize {
- interface Size {
- columns: number;
- rows: number;
- }
- }
-
- /**
- Reliably get the terminal window size.
-
- @example
- ```
- import terminalSize = require('term-size');
-
- terminalSize();
- //=> {columns: 143, rows: 24}
- ```
- */
- declare function terminalSize(): terminalSize.Size;
-
- export = terminalSize;
|