changeset 14031:d1eac0853a20 v8.1.0033

patch 8.1.0033: keys to stop Vim in terminal are wrong commit https://github.com/vim/vim/commit/acb9effecc9f54b93398a44cc0ec40e77978e094 Author: Bram Moolenaar <Bram@vim.org> Date: Mon Jun 4 19:11:11 2018 +0200 patch 8.1.0033: keys to stop Vim in terminal are wrong Problem: Keys to stop Vim in terminal are wrong. (Marius Gedminas) Solution: Move ":" to before CTRL-U.
author Christian Brabandt <cb@256bit.org>
date Mon, 04 Jun 2018 19:15:05 +0200
parents 2d7202f19fa5
children bdbabef0d4ea
files src/testdir/screendump.vim src/version.c
diffstat 2 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/testdir/screendump.vim
+++ b/src/testdir/screendump.vim
@@ -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!
--- a/src/version.c
+++ b/src/version.c
@@ -762,6 +762,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    33,
+/**/
     32,
 /**/
     31,