summaryrefslogtreecommitdiff
path: root/src/testdir/shared.vim
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2017-09-29 22:42:33 +0200
committerBram Moolenaar <Bram@vim.org>2017-09-29 22:42:33 +0200
commita5e6621aadadf78c7b344e93a4b328788076f14c (patch)
tree160e3f05fcea43ae0b38b307045a942aff9c2cd7 /src/testdir/shared.vim
parent816968defc8ae79eb7e2319e991e74661be8d750 (diff)
downloadvim-a5e6621aadadf78c7b344e93a4b328788076f14c.zip
patch 8.0.1161: popup menu drawing problem when resizing terminal
Problem: Popup menu drawing problem when resizing terminal. Solution: Redraw after resizing also when a popup menu is visible. (Ozaki Kiichi, closes #2110)
Diffstat (limited to 'src/testdir/shared.vim')
-rw-r--r--src/testdir/shared.vim5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/testdir/shared.vim b/src/testdir/shared.vim
index 691199a97..be83732cd 100644
--- a/src/testdir/shared.vim
+++ b/src/testdir/shared.vim
@@ -1,5 +1,10 @@
" Functions shared by several tests.
+" Only load this script once.
+if exists('*WaitFor')
+ finish
+endif
+
" Get the name of the Python executable.
" Also keeps it in s:python.
func PythonProg()