diff options
Diffstat (limited to 'src/testdir/test_popupwin.vim')
-rw-r--r-- | src/testdir/test_popupwin.vim | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/testdir/test_popupwin.vim b/src/testdir/test_popupwin.vim index 0f7f18c90e..2aebea495e 100644 --- a/src/testdir/test_popupwin.vim +++ b/src/testdir/test_popupwin.vim @@ -4,6 +4,7 @@ source check.vim CheckFeature popupwin source screendump.vim +source term_util.vim func Test_simple_popup() CheckScreendump @@ -3722,7 +3723,9 @@ func Test_popupmenu_masking() let buf = RunVimInTerminal('-S XtestPopupmenuMasking', #{rows: 14}) call TermWait(buf, 25) - call term_sendkeys(buf, "A\<C-X>\<C-U>\<C-A>") + call term_sendkeys(buf, "A" .. GetEscCodeWithModifier('C', 'X') + \ .. GetEscCodeWithModifier('C', 'U') + \ .. GetEscCodeWithModifier('C', 'A')) call VerifyScreenDump(buf, 'Test_popupwin_popupmenu_masking_1', {}) call term_sendkeys(buf, "\<Esc>") |