Mercurial > vim
diff src/channel.c @ 12064:407a475c67fd v8.0.0912
patch 8.0.0912: cannot run a job in a hidden terminal
commit https://github.com/vim/vim/commit/8cad930a259a05a95c7d0c527a5881d5f9a59057
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Aug 12 14:32:32 2017 +0200
patch 8.0.0912: cannot run a job in a hidden terminal
Problem: Cannot run a job in a hidden terminal.
Solution: Add option "hidden" and ++hidden.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sat, 12 Aug 2017 14:45:04 +0200 |
parents | a879814b8a37 |
children | f4e1e1e6886b |
line wrap: on
line diff
--- a/src/channel.c +++ b/src/channel.c @@ -4462,6 +4462,13 @@ get_job_options(typval_T *tv, jobopt_T * opt->jo_set |= JO2_CURWIN; opt->jo_curwin = get_tv_number(item); } + else if (STRCMP(hi->hi_key, "hidden") == 0) + { + if (!(supported2 & JO2_HIDDEN)) + break; + opt->jo_set |= JO2_HIDDEN; + opt->jo_hidden = get_tv_number(item); + } #endif else if (STRCMP(hi->hi_key, "env") == 0) {