0
0
mirror of https://github.com/vim/vim.git synced 2025-09-27 04:14:06 -04:00

patch 7.4.1891

Problem:    Channel reading very long lines is slow.
Solution:   Collapse multiple buffers until a NL is found.
This commit is contained in:
Bram Moolenaar
2016-06-04 17:17:11 +02:00
parent 703a8044b5
commit 9ed96efb3d
5 changed files with 58 additions and 20 deletions

View File

@@ -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