On Friday, August 4, 2017 at 2:23:04 AM UTC+9, Bram Moolenaar wrote:
> Yasuhiro Matsumoto wrote:
>
> > term_start options on Windows seems not work. exit_cb is not called.
>
> Hmm, the options are passed to channel_set_job().
> You'll have to do some debugging to find out why it doesn't work.
job options is not set.
diff --git a/src/terminal.c b/src/terminal.c
index b06feffc2..08fe724c6 100644
--- a/src/terminal.c
+++ b/src/terminal.c
@@ -2355,6 +2355,8 @@ term_and_job_init(term_T *term, int rows, int cols,
char_u *cmd, jobopt_T *opt)
++job->jv_refcount;
term->tl_job = job;
+ job_set_options(job, opt);
+
return OK;
failed:
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.