summaryrefslogtreecommitdiffstats
path: root/src/testdir/shared.vim
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2022-11-26 19:16:48 +0000
committerBram Moolenaar <Bram@vim.org>2022-11-26 19:16:48 +0000
commitc255b789653120979eacdf8bb8eca02487753a8e (patch)
tree50a07d7bcbac6a0331c47ed4da72f137cdb5b2e5 /src/testdir/shared.vim
parent837ca8f43b9d6b8574a2bfdae219b17c84411730 (diff)
patch 9.0.0954: cannot detect whether modifyOtherKeys is enabledv9.0.0954
Problem: Cannot detect whether modifyOtherKeys is enabled. Solution: Use XTQMODKEYS introduced by xterm version 377 to request the modifyOtherKeys level. Update the keycode check results.
Diffstat (limited to 'src/testdir/shared.vim')
-rw-r--r--src/testdir/shared.vim7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/testdir/shared.vim b/src/testdir/shared.vim
index 1b41c6ff3e..d373a6e740 100644
--- a/src/testdir/shared.vim
+++ b/src/testdir/shared.vim
@@ -7,6 +7,13 @@ endif
source view_util.vim
+" When 'term' is changed some status requests may be sent. The responses may
+" interfere with what is being tested. A short sleep is used to process any of
+" those responses first.
+func WaitForResponses()
+ sleep 50m
+endfunc
+
" Get the name of the Python executable.
" Also keeps it in s:python.
func PythonProg()