diff options
author | Bram Moolenaar <Bram@vim.org> | 2020-03-03 22:56:39 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2020-03-03 22:56:39 +0100 |
commit | 3e919d2924c87eb8fee62603788fcc3ced2a0031 (patch) | |
tree | d29b0edfc97afa0b8dba7d192e2b514fa4e91154 | |
parent | 080457c02d51f87e7d61ebd3e3aeef4468be939c (diff) | |
download | vim-git-3e919d2924c87eb8fee62603788fcc3ced2a0031.tar.gz |
patch 8.2.0351: terminal in popup test is still a bit flakyv8.2.0351
Problem: Terminal in popup test is still a bit flaky.
Solution: Clear and redraw before opening the popup.
-rw-r--r-- | src/testdir/test_terminal.vim | 1 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/src/testdir/test_terminal.vim b/src/testdir/test_terminal.vim index 1a9e1e3d4..8cbd6a665 100644 --- a/src/testdir/test_terminal.vim +++ b/src/testdir/test_terminal.vim @@ -2357,6 +2357,7 @@ func Test_terminal_in_popup() call writefile(lines, 'XtermPopup') let buf = RunVimInTerminal('-S XtermPopup', #{rows: 15}) call term_wait(buf, 100) + call term_sendkeys(buf, "\<C-L>") call term_sendkeys(buf, ":call OpenTerm(0)\<CR>") call term_wait(buf, 100) call term_sendkeys(buf, ":\<CR>") diff --git a/src/version.c b/src/version.c index c0e1b9146..b9fc30ac2 100644 --- a/src/version.c +++ b/src/version.c @@ -739,6 +739,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 351, +/**/ 350, /**/ 349, |