TermSize¶
Query the terminal dimensions via ioctl. Returns (cols, rows) or (80, 24) as a fallback if the query fails.
Constructors¶
create¶
Returns¶
- TermSize val^
Public Functions¶
apply¶
Return the current terminal size as (width, height).
Returns¶
eq¶
Parameters¶
- that: TermSize val
Returns¶
- Bool val
ne¶
Parameters¶
- that: TermSize val
Returns¶
- Bool val