nushell/docs/commands/term_size.md
JT 8c0a2d3c15
Auto-generate markdown command docs (#4451)
* Finish updating

* a couple improvements

* Update renames

* cleanup examples
2022-02-13 21:22:51 -05:00

480 B

title layout version
term size command 0.59.0

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