summaryrefslogtreecommitdiff
path: root/src/proto/channel.pro
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2016-06-04 17:17:11 +0200
committerBram Moolenaar <Bram@vim.org>2016-06-04 17:17:11 +0200
commit9ed96efb3d47d46e9637da04656efff715102407 (patch)
tree8b9cf45d9c39b274a81ad5d96710518c4feb84ac /src/proto/channel.pro
parent703a8044b5393d37d355b0b1054a9a5a13912a3f (diff)
downloadvim-git-9ed96efb3d47d46e9637da04656efff715102407.tar.gz
patch 7.4.1891v7.4.1891
Problem: Channel reading very long lines is slow. Solution: Collapse multiple buffers until a NL is found.
Diffstat (limited to 'src/proto/channel.pro')
-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 2f2deb4bc..52bced3b9 100644
--- a/src/proto/channel.pro
+++ b/src/proto/channel.pro
@@ -18,7 +18,7 @@ void channel_buffer_free(buf_T *buf);
void channel_write_any_lines(void);
void channel_write_new_lines(buf_T *buf);
char_u *channel_get(channel_T *channel, int part);
-int channel_collapse(channel_T *channel, int part);
+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);