]> granicus.if.org Git - vim/commitdiff
patch 8.2.0259: terminal in popup test sometimes fails v8.2.0259
authorBram Moolenaar <Bram@vim.org>
Fri, 14 Feb 2020 16:05:18 +0000 (17:05 +0100)
committerBram Moolenaar <Bram@vim.org>
Fri, 14 Feb 2020 16:05:18 +0000 (17:05 +0100)
Problem:    Terminal in popup test sometimes fails.
Solution:   Clear the command line.

src/testdir/dumps/Test_terminal_popup_1.dump
src/testdir/test_terminal.vim
src/version.c

index 8c2a54d8483298eabdf3ff79bbd7fc73ef60481b..a03d5898114a29c27e7b8331c6cd4f4bd4cbe27d 100644 (file)
@@ -8,7 +8,7 @@
 |7| @12|║+0#0000001#ffd7ff255|~+0#4040ff13#ffffff0| @43|║+0#0000001#ffd7ff255| +0#0000000#ffffff0@13
 |8| @12|║+0#0000001#ffd7ff255|~+0#4040ff13#ffffff0| @43|║+0#0000001#ffd7ff255| +0#0000000#ffffff0@13
 |9| @12|║+0#0000001#ffd7ff255|~+0#4040ff13#ffffff0| @43|║+0#0000001#ffd7ff255| +0#0000000#ffffff0@13
-|1|0| @11|║+0#0000001#ffd7ff255| +0#0000000#ffffff0@26|1|,|1| @10|A|l@1| |║+0#0000001#ffd7ff255| +0#0000000#ffffff0@13
+|1|0| @11|║+0#0000001#ffd7ff255|:+0#0000000#ffffff0| @25|1|,|1| @10|A|l@1| |║+0#0000001#ffd7ff255| +0#0000000#ffffff0@13
 |1@1| @11|╚+0#0000001#ffd7ff255|═@44|⇲| +0#0000000#ffffff0@13
 |1|2| @72
 |1|3| @72
index 993498cddd9eeddbaa8cb0362fc76660ee4d15dd..5259454c8282df0b07dfd03914d9f3a71df0e075 100644 (file)
@@ -2353,6 +2353,7 @@ func Test_terminal_in_popup()
        \ ]
   call writefile(lines, 'XtermPopup')
   let buf = RunVimInTerminal('-S XtermPopup', #{rows: 15})
+  call term_sendkeys(buf, ":\<CR>")
   call VerifyScreenDump(buf, 'Test_terminal_popup_1', {})
 
   call term_sendkeys(buf, ":q\<CR>")
index 2720dc65289c465702e0ab115de340c3e06933f1..7dacf84a38b6040e8c01f9256b9b0e11fbbec526 100644 (file)
@@ -742,6 +742,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    259,
 /**/
     258,
 /**/