0
0
mirror of https://github.com/vim/vim.git synced 2025-07-25 10:54:51 -04:00

patch 9.0.1022: suspend test fails on Mac OS when suspending Vim

Problem:    Suspend test fails on Mac OS when suspending Vim.
Solution:   Make 'keyprotocol' empty.
This commit is contained in:
Bram Moolenaar 2022-12-06 16:09:52 +00:00
parent d6e74f5479
commit af34543b92
2 changed files with 4 additions and 2 deletions

View File

@ -34,7 +34,7 @@ func Test_suspend()
call term_sendkeys(buf, v:progpath call term_sendkeys(buf, v:progpath
\ . " --clean -X" \ . " --clean -X"
\ . " -c 'set nu'" \ . " -c 'set nu keyprotocol='"
\ . " -c 'call setline(1, \"foo\")'" \ . " -c 'call setline(1, \"foo\")'"
\ . " Xfoo\<CR>") \ . " Xfoo\<CR>")
" Cursor in terminal buffer should be on first line in spawned vim. " Cursor in terminal buffer should be on first line in spawned vim.
@ -84,7 +84,7 @@ func Test_suspend_autocmd()
call term_sendkeys(buf, v:progpath call term_sendkeys(buf, v:progpath
\ . " --clean -X" \ . " --clean -X"
\ . " -c 'set nu'" \ . " -c 'set nu keyprotocol='"
\ . " -c 'let g:count = 0'" \ . " -c 'let g:count = 0'"
\ . " -c 'au VimSuspend * let g:count += 1'" \ . " -c 'au VimSuspend * let g:count += 1'"
\ . " -c 'au VimResume * let g:count += 1'" \ . " -c 'au VimResume * let g:count += 1'"

View File

@ -695,6 +695,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 */
/**/
1022,
/**/ /**/
1021, 1021,
/**/ /**/