]> granicus.if.org Git - vim/commitdiff
patch 8.1.0033: keys to stop Vim in terminal are wrong v8.1.0033
authorBram Moolenaar <Bram@vim.org>
Mon, 4 Jun 2018 17:11:11 +0000 (19:11 +0200)
committerBram Moolenaar <Bram@vim.org>
Mon, 4 Jun 2018 17:11:11 +0000 (19:11 +0200)
Problem:    Keys to stop Vim in terminal are wrong. (Marius Gedminas)
Solution:   Move ":" to before CTRL-U.

src/testdir/screendump.vim
src/version.c

index 58966458a4cd76e3b09a672c3fc50e910bea54cb..e601ae6cd3194756318312cdab168d091a2362d5 100644 (file)
@@ -84,7 +84,7 @@ func StopVimInTerminal(buf)
 
   " CTRL-O : works both in Normal mode and Insert mode to start a command line.
   " In Command-line it's inserted, the CTRL-U removes it again.
-  call term_sendkeys(a:buf, "\<C-O>\<C-U>:qa!\<cr>")
+  call term_sendkeys(a:buf, "\<C-O>:\<C-U>qa!\<cr>")
 
   call WaitForAssert({-> assert_equal("finished", term_getstatus(a:buf))})
   only!
index a0aaf866e6e71e2ac09f8a3ee5ba963bec7e7d6d..52269e7e84a39424618e8396291f0372dddef356 100644 (file)
@@ -761,6 +761,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    33,
 /**/
     32,
 /**/