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/terminal.c | |
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/terminal.c')
-rw-r--r-- | src/terminal.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/terminal.c b/src/terminal.c index 275a5a7ba..9b7bc038d 100644 --- a/src/terminal.c +++ b/src/terminal.c @@ -5769,7 +5769,7 @@ term_and_job_init( #endif /* This may change a string in "argvar". */ - term->tl_job = job_start(argvar, argv, opt); + term->tl_job = job_start(argvar, argv, opt, TRUE); if (term->tl_job != NULL) ++term->tl_job->jv_refcount; |