summaryrefslogtreecommitdiff
path: root/src/proto/channel.pro
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2018-06-12 20:25:52 +0200
committerBram Moolenaar <Bram@vim.org>2018-06-12 20:25:52 +0200
commit493359eb3b10377d5c3524e91d911809b8ac7a76 (patch)
tree9fbef20dacb5f09982441ec052fa872943bfaa20 /src/proto/channel.pro
parentd7a137fb0d980545dd567bee9c24cf7b9c3a2eae (diff)
downloadvim-git-493359eb3b10377d5c3524e91d911809b8ac7a76.tar.gz
patch 8.1.0050: $VIM_TERMINAL is also set when not in a terminal windowv8.1.0050
Problem: $VIM_TERMINAL is also set when not in a terminal window. Solution: Pass a flag to indicate whether the job runs in a terminal.
Diffstat (limited to 'src/proto/channel.pro')
-rw-r--r--src/proto/channel.pro2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/proto/channel.pro b/src/proto/channel.pro
index e6c95089b..5326276ef 100644
--- a/src/proto/channel.pro
+++ b/src/proto/channel.pro
@@ -66,7 +66,7 @@ void job_set_options(job_T *job, jobopt_T *opt);
void job_stop_on_exit(void);
int has_pending_job(void);
void job_check_ended(void);
-job_T *job_start(typval_T *argvars, char **argv_arg, jobopt_T *opt_arg);
+job_T *job_start(typval_T *argvars, char **argv_arg, jobopt_T *opt_arg, int is_terminal);
char *job_status(job_T *job);
void job_info(job_T *job, dict_T *dict);
void job_info_all(list_T *l);