mirror of
https://github.com/anatolykopyl/status.git
synced 2026-03-26 12:54:46 +00:00
Initial commit
This commit is contained in:
21
node_modules/term-size/index.d.ts
generated
vendored
Normal file
21
node_modules/term-size/index.d.ts
generated
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
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;
|
||||
Reference in New Issue
Block a user