summaryrefslogtreecommitdiffstats
path: root/src/proto/terminal.pro
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2018-06-19 19:59:20 +0200
committerBram Moolenaar <Bram@vim.org>2018-06-19 19:59:20 +0200
commitf9c3883b11b33f0c548df5e949ba59fde74d3e7b (patch)
treeab21fb8c95cc6f094925f89752989a41628a0be1 /src/proto/terminal.pro
parent1ceebb4efc455dc6c34e0cd2c2adbd00939f038b (diff)
patch 8.1.0087: v:shell_error is always zero when using terminal for "!cmd"v8.1.0087
Problem: v:shell_error is always zero when using terminal for "!cmd". Solution: Use "exitval" of terminal-job. (Ozaki Kiichi, closes #2994)
Diffstat (limited to 'src/proto/terminal.pro')
-rw-r--r--src/proto/terminal.pro1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/proto/terminal.pro b/src/proto/terminal.pro
index 25f9647f25..1031876c48 100644
--- a/src/proto/terminal.pro
+++ b/src/proto/terminal.pro
@@ -55,5 +55,6 @@ void f_term_setkill(typval_T *argvars, typval_T *rettv);
void f_term_start(typval_T *argvars, typval_T *rettv);
void f_term_wait(typval_T *argvars, typval_T *rettv);
void term_send_eof(channel_T *ch);
+job_T *term_getjob(term_T *term);
int terminal_enabled(void);
/* vim: set ft=c : */