mirror of
https://github.com/vim/vim.git
synced 2025-09-26 04:04:07 -04:00
patch 8.2.0328: no redraw when leaving term-normal mode in popup terminal
Problem: No redraw when leaving terminal-normal mode in a terminal popup window. Solution: Redraw the popup window. (closes #5708)
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 WIN_IS_POPUP(wp) ((wp)->w_popup_flags != 0)
|
||||
# define ERROR_IF_POPUP_WINDOW error_if_popup_window(FALSE)
|
||||
# define ERROR_IF_ANY_POPUP_WINDOW error_if_popup_window(TRUE)
|
||||
#else
|
||||
# define WIN_IS_POPUP(wp) 0
|
||||
# define ERROR_IF_POPUP_WINDOW 0
|
||||
# define ERROR_IF_ANY_POPUP_WINDOW 0
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user