diff options
| author | dana <dana@dana.is> | 2026-06-05 04:23:29 +0000 |
|---|---|---|
| committer | dana <dana@dana.is> | 2026-06-08 21:11:58 -0500 |
| commit | d7da0f59fc86f1e5d6465ea0b0ca4b93d6a31d54 (patch) | |
| tree | 0bcecbba5e44e1ae524a74302c1abac40b6dc8ec /Doc/Zsh | |
| parent | unposted: NEWS: fix 5.9 changes header (diff) | |
| download | zsh-d7da0f59fc86f1e5d6465ea0b0ca4b93d6a31d54.tar zsh-d7da0f59fc86f1e5d6465ea0b0ca4b93d6a31d54.tar.gz zsh-d7da0f59fc86f1e5d6465ea0b0ca4b93d6a31d54.tar.bz2 zsh-d7da0f59fc86f1e5d6465ea0b0ca4b93d6a31d54.tar.lz zsh-d7da0f59fc86f1e5d6465ea0b0ca4b93d6a31d54.tar.xz zsh-d7da0f59fc86f1e5d6465ea0b0ca4b93d6a31d54.tar.zst zsh-d7da0f59fc86f1e5d6465ea0b0ca4b93d6a31d54.zip | |
54676: preserve COLUMNS + LINES from the environment
Diffstat (limited to 'Doc/Zsh')
| -rw-r--r-- | Doc/Zsh/params.yo | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Doc/Zsh/params.yo b/Doc/Zsh/params.yo index 933081b34..a4dd1a2ca 100644 --- a/Doc/Zsh/params.yo +++ b/Doc/Zsh/params.yo @@ -1265,6 +1265,12 @@ vindex(COLUMNS) item(tt(COLUMNS) <S>)( The number of columns for this terminal session. Used for printing select lists and for the line editor. +If the shell is non-interactive and a legal value is imported from the +environment, it is preserved. Otherwise, the value is reset on start-up +and in response to certain events such as the receipt of a tt(SIGWINCH) +signal. Explicitly setting it to an illegal value such as tt(0) also +resets it. (Unsetting the parameter does not have this effect; it +simply `hides' the value that the shell is tracking internally.) ) vindex(CORRECT_IGNORE) item(tt(CORRECT_IGNORE))( @@ -1471,6 +1477,7 @@ vindex(LINES) item(tt(LINES) <S>)( The number of lines for this terminal session. Used for printing select lists and for the line editor. +See tt(COLUMNS). ) vindex(LISTMAX) item(tt(LISTMAX))( |
