0
0
mirror of https://github.com/vim/vim.git synced 2025-09-25 03:54:15 -04:00

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.
This commit is contained in:
Bram Moolenaar
2020-02-01 21:57:29 +01:00
parent ab067a21b9
commit 219c7d0638
15 changed files with 306 additions and 60 deletions

View File

@@ -2128,6 +2128,12 @@ did_set_string_option(
errmsg = e_invarg;
}
}
// 'wincolor'
else if (varp == &curwin->w_p_wcr)
{
if (curwin->w_buffer->b_term != NULL)
term_update_colors();
}
# if defined(MSWIN)
// 'termwintype'
else if (varp == &p_twt)