mirror of
https://github.com/nushell/nushell.git
synced 2024-11-27 10:53:57 +01:00
c0a1d18e3d
* feat: update #4455, regenerate commands' docs * chore: update make_docs script
34 lines
479 B
Markdown
34 lines
479 B
Markdown
---
|
|
title: term size
|
|
layout: command
|
|
version: 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
|
|
```shell
|
|
> term size
|
|
```
|
|
|
|
Return the width (columns) of the terminal
|
|
```shell
|
|
> term size -c
|
|
```
|
|
|
|
Return the height (rows) of the terminal
|
|
```shell
|
|
> term size -r
|
|
```
|