Mercurial > vim
diff runtime/doc/channel.txt @ 29274:d314efe6447a
Update runtime files
Commit: https://github.com/vim/vim/commit/a57b553b432855667c9f26edfad95ccfdd24a6b7
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Jun 24 11:48:03 2022 +0100
Update runtime files
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 24 Jun 2022 13:00:09 +0200 |
parents | 1e9e9d89f0ee |
children | dc4de65a7fb7 |
line wrap: on
line diff
--- 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