diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-11-26 19:16:48 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-11-26 19:16:48 +0000 |
commit | c255b789653120979eacdf8bb8eca02487753a8e (patch) | |
tree | 50a07d7bcbac6a0331c47ed4da72f137cdb5b2e5 /src/testdir/test_normal.vim | |
parent | 837ca8f43b9d6b8574a2bfdae219b17c84411730 (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/test_normal.vim')
-rw-r--r-- | src/testdir/test_normal.vim | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/src/testdir/test_normal.vim b/src/testdir/test_normal.vim index f7194b6035..8f547e3e95 100644 --- a/src/testdir/test_normal.vim +++ b/src/testdir/test_normal.vim @@ -3102,15 +3102,18 @@ endfunc func Test_normal50_commandline() CheckFeature timers CheckFeature cmdline_hist + func! DoTimerWork(id) call assert_equal('[Command Line]', bufname('')) + " should fail, with E11, but does fail with E23? "call feedkeys("\<c-^>", 'tm') - " should also fail with E11 + " should fail with E11 - "Invalid in command-line window" call assert_fails(":wincmd p", 'E11:') - " return from commandline window - call feedkeys("\<cr>") + + " Return from commandline window. + call feedkeys("\<CR>", 't') endfunc let oldlang=v:lang @@ -3123,7 +3126,9 @@ func Test_normal50_commandline() catch /E23/ " no-op endtry + " clean up + delfunc DoTimerWork set updatetime=4000 exe "lang" oldlang bw! |