summaryrefslogtreecommitdiff
path: root/src/structs.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2018-04-21 19:49:08 +0200
committerBram Moolenaar <Bram@vim.org>2018-04-21 19:49:08 +0200
commite1fc51558dc14906a8d9f6a6e7bb1ac2a6ba8f3d (patch)
tree4128c9bcc4f90ef51c976d324e22a32f81c2aabe /src/structs.h
parent259a90f7ce4d6d983a7fe5461da88cc52c46d9fe (diff)
downloadvim-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/structs.h')
-rw-r--r--src/structs.h12
1 files changed, 8 insertions, 4 deletions
diff --git a/src/structs.h b/src/structs.h
index 35433b1b2..55dd1fe6f 100644
--- a/src/structs.h
+++ b/src/structs.h
@@ -271,10 +271,10 @@ typedef struct
# define w_p_scl w_onebuf_opt.wo_scl /* 'signcolumn' */
#endif
#ifdef FEAT_TERMINAL
- char_u *wo_tk;
-#define w_p_tk w_onebuf_opt.wo_tk /* 'termkey' */
- char_u *wo_tms;
-#define w_p_tms w_onebuf_opt.wo_tms /* 'termsize' */
+ char_u *wo_twk;
+# define w_p_twk w_onebuf_opt.wo_twk /* 'termwinkey' */
+ char_u *wo_tws;
+# define w_p_tws w_onebuf_opt.wo_tws /* 'termwinsize' */
#endif
#ifdef FEAT_EVAL
@@ -1488,6 +1488,7 @@ struct jobvar_S
int jv_copyID;
channel_T *jv_channel; /* channel for I/O, reference counted */
+ char_u **argv; /* command line used to start the job */
};
/*
@@ -2262,6 +2263,9 @@ struct file_buffer
#ifdef FEAT_LISP
char_u *b_p_lw; /* 'lispwords' local value */
#endif
+#ifdef FEAT_TERMINAL
+ long b_p_twsl; /* 'termwinscroll' */
+#endif
/* end of buffer options */