0
0
mirror of https://github.com/vim/vim.git synced 2025-07-04 23:07:33 -04:00

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.
This commit is contained in:
Bram Moolenaar 2018-06-04 19:11:11 +02:00
parent 6b810d92a9
commit acb9effecc
2 changed files with 3 additions and 1 deletions

View File

@ -84,7 +84,7 @@ func StopVimInTerminal(buf)
" CTRL-O : works both in Normal mode and Insert mode to start a command line. " 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. " 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))}) call WaitForAssert({-> assert_equal("finished", term_getstatus(a:buf))})
only! only!

View File

@ -761,6 +761,8 @@ static char *(features[]) =
static int included_patches[] = static int included_patches[] =
{ /* Add new patch number below this line */ { /* Add new patch number below this line */
/**/
33,
/**/ /**/
32, 32,
/**/ /**/