mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
patch 8.1.0087: v:shell_error is always zero when using terminal for "!cmd"
Problem: v:shell_error is always zero when using terminal for "!cmd". Solution: Use "exitval" of terminal-job. (Ozaki Kiichi, closes #2994)
This commit is contained in:
@@ -5336,6 +5336,12 @@ term_send_eof(channel_T *ch)
|
||||
}
|
||||
}
|
||||
|
||||
job_T *
|
||||
term_getjob(term_T *term)
|
||||
{
|
||||
return term != NULL ? term->tl_job : NULL;
|
||||
}
|
||||
|
||||
# if defined(WIN3264) || defined(PROTO)
|
||||
|
||||
/**************************************
|
||||
|
Reference in New Issue
Block a user