summaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2021-11-13 10:27:40 +0000
committerBram Moolenaar <Bram@vim.org>2021-11-13 10:27:40 +0000
commit5300be620c77950caa5296019408ee02e60097e8 (patch)
treedee544e252d0f476bcafbc2b5e05b886e4592aa7 /runtime
parent606efc7df4c94104bbd24248106dd0e4ee6f7cfa (diff)
downloadvim-git-5300be620c77950caa5296019408ee02e60097e8.tar.gz
patch 8.2.3589: failure when "term_rows" of term_start() is an unusual valuev8.2.3589
Problem: Failure when the "term_rows" argument of term_start() is an unusual value. Solution: Limit to range of zero to 1000. (closes #9116)
Diffstat (limited to 'runtime')
-rw-r--r--runtime/doc/terminal.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/runtime/doc/terminal.txt b/runtime/doc/terminal.txt
index 510f1c399..47b04df2f 100644
--- a/runtime/doc/terminal.txt
+++ b/runtime/doc/terminal.txt
@@ -871,7 +871,8 @@ term_start({cmd} [, {options}]) *term_start()*
"term_name" name to use for the buffer name, instead
of the command name.
"term_rows" vertical size to use for the terminal,
- instead of using 'termwinsize'
+ instead of using 'termwinsize'; valid
+ range is from zero to 1000
"term_cols" horizontal size to use for the terminal,
instead of using 'termwinsize'
"vertical" split the window vertically; note that