Mercurial > vim
comparison src/optionstr.c @ 19265:ce8c47ed54e5 v8.2.0191
patch 8.2.0191: cannot put a terminal in a popup window
Commit: https://github.com/vim/vim/commit/219c7d063823498be22aae46dd024d77b5fb2a58
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Feb 1 21:57:29 2020 +0100
patch 8.2.0191: cannot put a terminal in a popup window
Problem: Cannot put a terminal in a popup window.
Solution: Allow opening a terminal in a popup window. It will always have
keyboard focus until closed.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 01 Feb 2020 22:00:04 +0100 |
parents | 49b78d6465e5 |
children | bee179e81f28 |
comparison
equal
deleted
inserted
replaced
19264:489e4c8101ba | 19265:ce8c47ed54e5 |
---|---|
2126 || (*p != 'x' && *p != '*') | 2126 || (*p != 'x' && *p != '*') |
2127 || *skipdigits(p + 1) != NUL) | 2127 || *skipdigits(p + 1) != NUL) |
2128 errmsg = e_invarg; | 2128 errmsg = e_invarg; |
2129 } | 2129 } |
2130 } | 2130 } |
2131 // 'wincolor' | |
2132 else if (varp == &curwin->w_p_wcr) | |
2133 { | |
2134 if (curwin->w_buffer->b_term != NULL) | |
2135 term_update_colors(); | |
2136 } | |
2131 # if defined(MSWIN) | 2137 # if defined(MSWIN) |
2132 // 'termwintype' | 2138 // 'termwintype' |
2133 else if (varp == &p_twt) | 2139 else if (varp == &p_twt) |
2134 { | 2140 { |
2135 if (check_opt_strings(*varp, p_twt_values, FALSE) != OK) | 2141 if (check_opt_strings(*varp, p_twt_values, FALSE) != OK) |