We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 219df23 commit b59859eCopy full SHA for b59859e
autoload/dispatch/job.vim
@@ -20,13 +20,12 @@ function! dispatch#job#handle(request) abort
20
endif
21
if exists('*job_start')
22
let job = job_start([&shell, &shellcmdflag, a:request.expanded], {
23
- \ 'in_io': 'null',
24
- \ 'out_mode': 'raw',
25
- \ 'err_mode': 'raw',
+ \ 'mode': 'raw',
26
\ 'callback': function('s:output'),
27
\ 'close_cb': function('s:closed'),
28
\ 'exit_cb': function('s:exit'),
29
\ })
+ call ch_close_in(job)
30
let a:request.pid = job_info(job).process
31
let a:request.job = job
32
let ch_id = ch_info(job_info(job).channel).id
0 commit comments