Mercurial > vim
comparison 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 |
comparison
equal
deleted
inserted
replaced
12063:2372e456e821 | 12064:407a475c67fd |
---|---|
4460 if (!(supported2 & JO2_CURWIN)) | 4460 if (!(supported2 & JO2_CURWIN)) |
4461 break; | 4461 break; |
4462 opt->jo_set |= JO2_CURWIN; | 4462 opt->jo_set |= JO2_CURWIN; |
4463 opt->jo_curwin = get_tv_number(item); | 4463 opt->jo_curwin = get_tv_number(item); |
4464 } | 4464 } |
4465 else if (STRCMP(hi->hi_key, "hidden") == 0) | |
4466 { | |
4467 if (!(supported2 & JO2_HIDDEN)) | |
4468 break; | |
4469 opt->jo_set |= JO2_HIDDEN; | |
4470 opt->jo_hidden = get_tv_number(item); | |
4471 } | |
4465 #endif | 4472 #endif |
4466 else if (STRCMP(hi->hi_key, "env") == 0) | 4473 else if (STRCMP(hi->hi_key, "env") == 0) |
4467 { | 4474 { |
4468 if (!(supported2 & JO2_ENV)) | 4475 if (!(supported2 & JO2_ENV)) |
4469 break; | 4476 break; |