Mercurial > vim
comparison src/channel.c @ 12060:a879814b8a37 v8.0.0910
patch 8.0.0910: cannot create a terminal in the current window
commit https://github.com/vim/vim/commit/da43b61dddcf81439a6f1716956a4e8d9046e68f
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Aug 11 22:27:50 2017 +0200
patch 8.0.0910: cannot create a terminal in the current window
Problem: Cannot create a terminal in the current window.
Solution: Add option "curwin" and ++curwin.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Fri, 11 Aug 2017 22:30:06 +0200 |
parents | e78fde22faec |
children | 407a475c67fd |
comparison
equal
deleted
inserted
replaced
12059:4ee89f4c6b25 | 12060:a879814b8a37 |
---|---|
4453 if (!(supported2 & JO2_VERTICAL)) | 4453 if (!(supported2 & JO2_VERTICAL)) |
4454 break; | 4454 break; |
4455 opt->jo_set |= JO2_VERTICAL; | 4455 opt->jo_set |= JO2_VERTICAL; |
4456 opt->jo_vertical = get_tv_number(item); | 4456 opt->jo_vertical = get_tv_number(item); |
4457 } | 4457 } |
4458 else if (STRCMP(hi->hi_key, "curwin") == 0) | |
4459 { | |
4460 if (!(supported2 & JO2_CURWIN)) | |
4461 break; | |
4462 opt->jo_set |= JO2_CURWIN; | |
4463 opt->jo_curwin = get_tv_number(item); | |
4464 } | |
4458 #endif | 4465 #endif |
4459 else if (STRCMP(hi->hi_key, "env") == 0) | 4466 else if (STRCMP(hi->hi_key, "env") == 0) |
4460 { | 4467 { |
4461 if (!(supported2 & JO2_ENV)) | 4468 if (!(supported2 & JO2_ENV)) |
4462 break; | 4469 break; |