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.
diff --git a/src/optionstr.c b/src/optionstr.c
index 98e90a4..af4b749 100644
--- a/src/optionstr.c
+++ b/src/optionstr.c
@@ -2128,6 +2128,12 @@
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)