Mercurial > vim
diff src/netbeans.c @ 9215:d2d44592467d v7.4.1891
commit https://github.com/vim/vim/commit/9ed96efb3d47d46e9637da04656efff715102407
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Jun 4 17:17:11 2016 +0200
patch 7.4.1891
Problem: Channel reading very long lines is slow.
Solution: Collapse multiple buffers until a NL is found.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sat, 04 Jun 2016 17:30:06 +0200 |
parents | 3a6b66c02d6d |
children | 6ee88fa405b3 |
line wrap: on
line diff
--- a/src/netbeans.c +++ b/src/netbeans.c @@ -399,7 +399,7 @@ netbeans_parse_messages(void) /* Command isn't complete. If there is no following buffer, * return (wait for more). If there is another buffer following, * prepend the text to that buffer and delete this one. */ - if (channel_collapse(nb_channel, PART_SOCK) == FAIL) + if (channel_collapse(nb_channel, PART_SOCK, TRUE) == FAIL) return; } else