Mercurial > vim
comparison src/proto/channel.pro @ 13740:f309afff6f25 v8.0.1742
patch 8.0.1742: cannot get a list of all the jobs
commit https://github.com/vim/vim/commit/e1fc51558dc14906a8d9f6a6e7bb1ac2a6ba8f3d
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Apr 21 19:49:08 2018 +0200
patch 8.0.1742: cannot get a list of all the jobs
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)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sat, 21 Apr 2018 20:00:07 +0200 |
parents | 2a2b668cf24c |
children | fa0dcdaec6a3 |
comparison
equal
deleted
inserted
replaced
13739:0b766229da42 | 13740:f309afff6f25 |
---|---|
66 int has_pending_job(void); | 66 int has_pending_job(void); |
67 void job_check_ended(void); | 67 void job_check_ended(void); |
68 job_T *job_start(typval_T *argvars, char **argv_arg, jobopt_T *opt_arg); | 68 job_T *job_start(typval_T *argvars, char **argv_arg, jobopt_T *opt_arg); |
69 char *job_status(job_T *job); | 69 char *job_status(job_T *job); |
70 void job_info(job_T *job, dict_T *dict); | 70 void job_info(job_T *job, dict_T *dict); |
71 void job_info_all(list_T *l); | |
71 int job_stop(job_T *job, typval_T *argvars, char *type); | 72 int job_stop(job_T *job, typval_T *argvars, char *type); |
72 /* vim: set ft=c : */ | 73 /* vim: set ft=c : */ |