diff options
author | Bram Moolenaar <Bram@vim.org> | 2017-08-20 18:09:14 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2017-08-20 18:09:14 +0200 |
commit | b241208a13d3e9def36d749b1e824ae694aa85f8 (patch) | |
tree | 3b5544c1e0dfe300b4351b2934bf0ce87f84ac0a /runtime | |
parent | edbc0d46cffe1766d0b330dc2842212cff644f8e (diff) |
patch 8.0.0976: cannot send lines to a terminal jobv8.0.0976
Problem: Cannot send lines to a terminal job.
Solution: Make [range]terminal send selected lines to the job.
Use ++rows and ++cols for the terminal size.
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/doc/terminal.txt | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/runtime/doc/terminal.txt b/runtime/doc/terminal.txt index 1f23deb785..c7c3f856a6 100644 --- a/runtime/doc/terminal.txt +++ b/runtime/doc/terminal.txt @@ -1,4 +1,4 @@ -*terminal.txt* For Vim version 8.0. Last change: 2017 Aug 12 +*terminal.txt* For Vim version 8.0. Last change: 2017 Aug 20 VIM REFERENCE MANUAL by Bram Moolenaar @@ -102,10 +102,9 @@ Syntax ~ parentheses. E.g. if "gdb" exists the second terminal buffer will use "!gdb (1)". - If [range] is given it is used for the terminal size. - One number specifies the number of rows. Unless the - "vertical" modifier is used, then it is the number of - columns. + If [range] is given the specified lines are used as + input for the job. It will not be possible to type + keys in the terminal window. Two comma separated numbers are used as "rows,cols". E.g. `:24,80gdb` opens a terminal with 24 rows and 80 @@ -125,6 +124,10 @@ Syntax ~ cannot be |abandon|ed. ++hidden Open the terminal in a hidden buffer, no window will be used. + ++rows={height} Use {height} for the terminal window + height. + ++cols={width} Use {width} for the terminal window + width. If you want to use more options use the |term_start()| function. |