summaryrefslogtreecommitdiff
path: root/src/evalfunc.c
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/evalfunc.c
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/evalfunc.c')
-rw-r--r--src/evalfunc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/evalfunc.c b/src/evalfunc.c
index 3cd3c3d35..2bbeb2569 100644
--- a/src/evalfunc.c
+++ b/src/evalfunc.c
@@ -7254,7 +7254,7 @@ f_job_start(typval_T *argvars, typval_T *rettv)
rettv->v_type = VAR_JOB;
if (check_restricted() || check_secure())
return;
- rettv->vval.v_job = job_start(argvars, NULL, NULL);
+ rettv->vval.v_job = job_start(argvars, NULL, NULL, FALSE);
}
/*