forked from aniani/vim
patch 8.2.0194: some commands can cause problems in terminal popup
Problem: Some commands can cause problems in terminal popup. Solution: Disallow more commands.
This commit is contained in:
@@ -344,9 +344,11 @@
|
||||
|
||||
// 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_POPUP_WINDOW error_if_popup_window(FALSE)
|
||||
# define ERROR_IF_ANY_POPUP_WINDOW error_if_popup_window(TRUE)
|
||||
#else
|
||||
# define ERROR_IF_POPUP_WINDOW 0
|
||||
# define ERROR_IF_ANY_POPUP_WINDOW 0
|
||||
#endif
|
||||
#if defined(FEAT_PROP_POPUP) && defined(FEAT_TERMINAL)
|
||||
# define ERROR_IF_TERM_POPUP_WINDOW error_if_term_popup_window()
|
||||
|
Reference in New Issue
Block a user