From: Bram Moolenaar Date: Tue, 3 Mar 2020 21:56:39 +0000 (+0100) Subject: patch 8.2.0351: terminal in popup test is still a bit flaky X-Git-Tag: v8.2.0351 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3e919d2924c87eb8fee62603788fcc3ced2a0031;p=vim patch 8.2.0351: terminal in popup test is still a bit flaky Problem: Terminal in popup test is still a bit flaky. Solution: Clear and redraw before opening the popup. --- 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, "\") call term_sendkeys(buf, ":call OpenTerm(0)\") call term_wait(buf, 100) call term_sendkeys(buf, ":\") diff --git a/src/version.c b/src/version.c index c0e1b9146..b9fc30ac2 100644 --- a/src/version.c +++ b/src/version.c @@ -738,6 +738,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 351, /**/ 350, /**/