0
0
mirror of https://github.com/vim/vim.git synced 2025-09-24 03:44:06 -04:00

patch 7.4.1336

Problem:    Channel NL mode is not supported yet.
Solution:   Add NL mode support to channels.
This commit is contained in:
Bram Moolenaar
2016-02-16 19:25:12 +01:00
parent 5d54a04598
commit 9a6e33a19b
9 changed files with 151 additions and 34 deletions

View File

@@ -5034,7 +5034,7 @@ mch_call_shell(
#if defined(FEAT_JOB) || defined(PROTO)
void
mch_start_job(char *cmd, job_T *job)
mch_start_job(char *cmd, job_T *job, jobopt_T *options)
{
STARTUPINFO si;
PROCESS_INFORMATION pi;
@@ -5121,6 +5121,7 @@ mch_start_job(char *cmd, job_T *job)
job->jv_channel = channel;
channel_set_pipes(channel, (sock_T)ifd[1], (sock_T)ofd[0], (sock_T)efd[0]);
channel_set_job(channel, job);
channel_set_mode(channel, options->jo_mode);
# ifdef FEAT_GUI
channel_gui_register(channel);