diff options
author | Bram Moolenaar <Bram@vim.org> | 2018-06-12 20:25:52 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2018-06-12 20:25:52 +0200 |
commit | 493359eb3b10377d5c3524e91d911809b8ac7a76 (patch) | |
tree | 9fbef20dacb5f09982441ec052fa872943bfaa20 /src/proto/channel.pro | |
parent | d7a137fb0d980545dd567bee9c24cf7b9c3a2eae (diff) | |
download | vim-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.pro | 2 |
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); |