summaryrefslogtreecommitdiff
path: root/src/proto
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2016-09-26 22:36:58 +0200
committerBram Moolenaar <Bram@vim.org>2016-09-26 22:36:58 +0200
commit7ef3810d28b7ab2edbfcafab3fe8ad8bc2c2f138 (patch)
tree9e53fef5708789fd930f86172c1fff8529f27f74 /src/proto
parent1eceadaf481e34ed8155011534159775697ce884 (diff)
downloadvim-git-7ef3810d28b7ab2edbfcafab3fe8ad8bc2c2f138.tar.gz
patch 8.0.0015v8.0.0015
Problem: Can't tell which part of a channel has "buffered" status. Solution: Add an optional argument to ch_status(). Let ch_info() also return "buffered" for out_status and err_status.
Diffstat (limited to 'src/proto')
-rw-r--r--src/proto/channel.pro2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/proto/channel.pro b/src/proto/channel.pro
index 869989cc4..e056d5ffe 100644
--- a/src/proto/channel.pro
+++ b/src/proto/channel.pro
@@ -24,7 +24,7 @@ void channel_consume(channel_T *channel, int part, int len);
int channel_collapse(channel_T *channel, int part, int want_nl);
int channel_can_write_to(channel_T *channel);
int channel_is_open(channel_T *channel);
-char *channel_status(channel_T *channel);
+char *channel_status(channel_T *channel, int req_part);
void channel_info(channel_T *channel, dict_T *dict);
void channel_close(channel_T *channel, int invoke_close_cb);
void channel_close_in(channel_T *channel);