diff options
author | Bram Moolenaar <Bram@vim.org> | 2021-11-13 10:27:40 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2021-11-13 10:27:40 +0000 |
commit | 5300be620c77950caa5296019408ee02e60097e8 (patch) | |
tree | dee544e252d0f476bcafbc2b5e05b886e4592aa7 /runtime | |
parent | 606efc7df4c94104bbd24248106dd0e4ee6f7cfa (diff) |
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.txt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/runtime/doc/terminal.txt b/runtime/doc/terminal.txt index 510f1c399b..47b04df2fc 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 |