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/os_unix.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/os_unix.pro')
-rw-r--r-- | src/proto/os_unix.pro | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/proto/os_unix.pro b/src/proto/os_unix.pro index 5d90c0e84..262a8d54d 100644 --- a/src/proto/os_unix.pro +++ b/src/proto/os_unix.pro @@ -62,7 +62,7 @@ void mch_set_shellsize(void); void mch_new_shellsize(void); void may_send_sigint(int c, pid_t pid, pid_t wpid); int mch_call_shell(char_u *cmd, int options); -void mch_job_start(char **argv, job_T *job, jobopt_T *options); +void mch_job_start(char **argv, job_T *job, jobopt_T *options, int is_terminal); char *mch_job_status(job_T *job); job_T *mch_detect_ended_job(job_T *job_list); int mch_signal_job(job_T *job, char_u *how); |