diff options
author | Bram Moolenaar <Bram@vim.org> | 2018-06-19 19:59:20 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2018-06-19 19:59:20 +0200 |
commit | f9c3883b11b33f0c548df5e949ba59fde74d3e7b (patch) | |
tree | ab21fb8c95cc6f094925f89752989a41628a0be1 /src/proto | |
parent | 1ceebb4efc455dc6c34e0cd2c2adbd00939f038b (diff) | |
download | vim-git-f9c3883b11b33f0c548df5e949ba59fde74d3e7b.tar.gz |
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')
-rw-r--r-- | src/proto/terminal.pro | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/proto/terminal.pro b/src/proto/terminal.pro index 25f9647f2..1031876c4 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 : */ |