Skip to content

Commit acb9eff

Browse files
committed
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.
1 parent 6b810d9 commit acb9eff

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/testdir/screendump.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ func StopVimInTerminal(buf)
8484

8585
" CTRL-O : works both in Normal mode and Insert mode to start a command line.
8686
" In Command-line it's inserted, the CTRL-U removes it again.
87-
call term_sendkeys(a:buf, "\<C-O>\<C-U>:qa!\<cr>")
87+
call term_sendkeys(a:buf, "\<C-O>:\<C-U>qa!\<cr>")
8888

8989
call WaitForAssert({-> assert_equal("finished", term_getstatus(a:buf))})
9090
only!

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -761,6 +761,8 @@ static char *(features[]) =
761761

762762
static int included_patches[] =
763763
{ /* Add new patch number below this line */
764+
/**/
765+
33,
764766
/**/
765767
32,
766768
/**/

0 commit comments

Comments
 (0)