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; >
Thanks! -- "It's so simple to be wise. Just think of something stupid to say and then don't say it." -- Sam Levenson /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ an exciting new programming language -- http://www.Zimbu.org /// \\\ help me help AIDS victims -- http://ICCF-Holland.org /// -- -- 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.
