diff options
author | Bram Moolenaar <Bram@vim.org> | 2018-04-21 19:49:08 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2018-04-21 19:49:08 +0200 |
commit | e1fc51558dc14906a8d9f6a6e7bb1ac2a6ba8f3d (patch) | |
tree | 4128c9bcc4f90ef51c976d324e22a32f81c2aabe /src/proto/channel.pro | |
parent | 259a90f7ce4d6d983a7fe5461da88cc52c46d9fe (diff) | |
download | vim-git-e1fc51558dc14906a8d9f6a6e7bb1ac2a6ba8f3d.tar.gz |
patch 8.0.1742: cannot get a list of all the jobsv8.0.1742
Problem: Cannot get a list of all the jobs. Cannot get the command of
the job.
Solution: When job_info() is called without an argument return a list of
jobs. Otherwise, include the command that the job is running.
(Yegappan Lakshmanan)
Diffstat (limited to 'src/proto/channel.pro')
-rw-r--r-- | src/proto/channel.pro | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/proto/channel.pro b/src/proto/channel.pro index dcf29b842..2505df578 100644 --- a/src/proto/channel.pro +++ b/src/proto/channel.pro @@ -68,5 +68,6 @@ void job_check_ended(void); job_T *job_start(typval_T *argvars, char **argv_arg, jobopt_T *opt_arg); char *job_status(job_T *job); void job_info(job_T *job, dict_T *dict); +void job_info_all(list_T *l); int job_stop(job_T *job, typval_T *argvars, char *type); /* vim: set ft=c : */ |