term size
for platform> term size {flags}
input | output |
---|---|
nothing | record<columns: int, rows: int> |
Return the columns (width) and rows (height) of the terminal
>term size
Return the columns (width) of the terminal
> (term size).columns
Return the rows (height) of the terminal
> (term size).rows
Copyright © 2019–2023 The Nushell Project DevelopersLicensed under the MIT License.
https://www.nushell.sh/commands/docs/term_size.html