mirror of
https://github.com/vim/vim.git
synced 2025-09-26 04:04:07 -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:
@@ -345,8 +345,10 @@
|
||||
// Give an error in curwin is a popup window and evaluate to TRUE.
|
||||
#ifdef FEAT_PROP_POPUP
|
||||
# define ERROR_IF_POPUP_WINDOW error_if_popup_window()
|
||||
# define ERROR_IF_TERM_POPUP_WINDOW error_if_term_popup_window()
|
||||
#else
|
||||
# define ERROR_IF_POPUP_WINDOW 0
|
||||
# define ERROR_IF_TERM_POPUP_WINDOW 0
|
||||
#endif
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user