]> granicus.if.org Git - vim/commitdiff
patch 8.2.0351: terminal in popup test is still a bit flaky v8.2.0351
authorBram Moolenaar <Bram@vim.org>
Tue, 3 Mar 2020 21:56:39 +0000 (22:56 +0100)
committerBram Moolenaar <Bram@vim.org>
Tue, 3 Mar 2020 21:56:39 +0000 (22:56 +0100)
Problem:    Terminal in popup test is still a bit flaky.
Solution:   Clear and redraw before opening the popup.

src/testdir/test_terminal.vim
src/version.c

index 1a9e1e3d4a66760cdc6654a9c8a5fc4bfbddc65e..8cbd6a665a56dd94000bbfdb49c30559b2a50602 100644 (file)
@@ -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>")
index c0e1b914615e645d8613d45b1ac9e11fe9834113..b9fc30ac2f378cc5aa5c9f1496e3c3aea5d603a1 100644 (file)
@@ -738,6 +738,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    351,
 /**/
     350,
 /**/