]> git.ipfire.org Git - thirdparty/vim.git/commit
runtime(doc): clarify term_cols allowed range in terminal.txt
authorKalin KOZHUHAROV <me.kalin@gmail.com>
Fri, 6 Feb 2026 14:55:12 +0000 (14:55 +0000)
committerChristian Brabandt <cb@256bit.org>
Fri, 6 Feb 2026 14:55:12 +0000 (14:55 +0000)
commitf73bd2546ed9cdc9966d0831d05c1109830dcddc
treea85ea0766d5e740dea3864eeb4d9e47b0d3935ed
parentdb4ff9a407ea896aec424203f9bbe337b9896e14
runtime(doc): clarify term_cols allowed range in terminal.txt

Patch 9.0.1527 (related issue: vim/vim#12362) introduced range checking
for `term_cols` parameter of the various terminal related functions, but
did not update the documentation. This is the fix, hopefully I found
everything that mentions is. Also improve the style for `term_rows` to
match.

Code reference ( https://github.com/vim/vim/blob/master/src/job.c#L456 ):
if (opt->jo_term_cols < 0 || opt->jo_term_cols > 1000)

closes: #19346

Signed-off-by: Kalin Kozhuharov <kalin@thinrope.net>
Signed-off-by: Christian Brabandt <cb@256bit.org>
runtime/doc/terminal.txt