]> granicus.if.org Git - vim/commitdiff
patch 8.1.1042: the paste test doesn't work properly in the Windows console v8.1.1042
authorBram Moolenaar <Bram@vim.org>
Sat, 23 Mar 2019 12:30:22 +0000 (13:30 +0100)
committerBram Moolenaar <Bram@vim.org>
Sat, 23 Mar 2019 12:30:22 +0000 (13:30 +0100)
Problem:    The paste test doesn't work properly in the Windows console.
Solution:   Disable the test.

src/testdir/test_paste.vim
src/version.c

index 65f300cef02d58c43b4d08c6251f8a710ee911d0..f3664f6a6207dd886f5df1f2e8a86487236da53b 100644 (file)
@@ -1,7 +1,7 @@
 " Tests for bracketed paste and other forms of pasting.
 
-" Bracketed paste only works with "xterm".  Not in GUI.
-if has('gui_running')
+" Bracketed paste only works with "xterm".  Not in GUI or Windows console.
+if has('gui_running') || has('win32')
   finish
 endif
 set term=xterm
index ce32f2b589d13a51e0f249c39e2866c888602fda..4dc0df6df1de7b4def9fba4f355748017ad4f18e 100644 (file)
@@ -775,6 +775,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1042,
 /**/
     1041,
 /**/