diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-06-24 11:48:03 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-06-24 11:48:03 +0100 |
commit | a57b553b432855667c9f26edfad95ccfdd24a6b7 (patch) | |
tree | 9f3fc55b3aecb5de3aefcdfcb1055d8acb87a9b9 /runtime/doc/channel.txt | |
parent | abd56da30bae4a5c6c20b9363ccae12f7b126026 (diff) |
Update runtime files
Diffstat (limited to 'runtime/doc/channel.txt')
-rw-r--r-- | runtime/doc/channel.txt | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/runtime/doc/channel.txt b/runtime/doc/channel.txt index 35a5548f2c..669657aa02 100644 --- a/runtime/doc/channel.txt +++ b/runtime/doc/channel.txt @@ -1,4 +1,4 @@ -*channel.txt* For Vim version 8.2. Last change: 2022 Jun 04 +*channel.txt* For Vim version 8.2. Last change: 2022 Jun 23 VIM REFERENCE MANUAL by Bram Moolenaar @@ -464,8 +464,10 @@ a close callback to the channel. To read all normal output from a RAW channel that is available: > let output = ch_readraw(channel) -To read the error output: > +To read all error output from a RAW channel that is available:: > let output = ch_readraw(channel, {"part": "err"}) +Note that if the channel is in NL mode, ch_readraw() will only return one line +for each call. ch_read() and ch_readraw() use the channel timeout. When there is nothing to read within that time an empty string is returned. To specify a different |