Mercurial > vim
diff src/proto/popupwin.pro @ 19271:ebeeb4b4a1fa v8.2.0194
patch 8.2.0194: some commands can cause problems in terminal popup
Commit: https://github.com/vim/vim/commit/3c01c4a02897163996639f6f2604c68eab2bd18b
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Feb 1 23:04:24 2020 +0100
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.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 01 Feb 2020 23:15:03 +0100 |
parents | ce8c47ed54e5 |
children | f37028184d6a |
line wrap: on
line diff
--- a/src/proto/popupwin.pro +++ b/src/proto/popupwin.pro @@ -41,7 +41,7 @@ void f_popup_setoptions(typval_T *argvar void f_popup_getpos(typval_T *argvars, typval_T *rettv); void f_popup_locate(typval_T *argvars, typval_T *rettv); void f_popup_getoptions(typval_T *argvars, typval_T *rettv); -int error_if_popup_window(void); +int error_if_popup_window(int also_with_term); int error_if_term_popup_window(void); void popup_reset_handled(int handled_flag); win_T *find_next_popup(int lowest, int handled_flag);