mirror of
https://github.com/nushell/nushell.git
synced 2024-11-23 00:43:33 +01:00
479 B
479 B
title | layout | version |
---|---|---|
term size | command | 0.59.1 |
Returns the terminal size
Signature
> term size --columns --rows
Parameters
--columns
: Report only the width of the terminal--rows
: Report only the height of the terminal
Examples
Return the width height of the terminal
> term size
Return the width (columns) of the terminal
> term size -c
Return the height (rows) of the terminal
> term size -r