mirror of
https://github.com/vim/vim.git
synced 2025-09-27 04:14:06 -04:00
patch 7.4.1998
Problem: When writing buffer lines to a job there is no NL to NUL conversion. Solution: Make it work symmetrical with writing lines from a job into a buffer.
This commit is contained in:
@@ -765,7 +765,8 @@ netbeans_end(void)
|
||||
nb_send(char *buf, char *fun)
|
||||
{
|
||||
if (nb_channel != NULL)
|
||||
channel_send(nb_channel, PART_SOCK, (char_u *)buf, fun);
|
||||
channel_send(nb_channel, PART_SOCK, (char_u *)buf,
|
||||
(int)STRLEN(buf), fun);
|
||||
}
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user