Permalink
Browse files

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.
  • Loading branch information...
brammool committed Jun 4, 2018
1 parent 6b810d9 commit acb9effecc9f54b93398a44cc0ec40e77978e094
Showing with 3 additions and 1 deletion.
  1. +1 −1 src/testdir/screendump.vim
  2. +2 −0 src/version.c
@@ -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!
@@ -761,6 +761,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
33,
/**/
32,
/**/

0 comments on commit acb9eff

Please sign in to comment.