# HG changeset patch # User Bram Moolenaar # Date 1670343303 -3600 # Node ID 543cb94c6c095f76b6cee9f8cec2717299263764 # Parent 8afb8f0bbc6662d4ffc5ebdb31f0f088c9a2faaa patch 9.0.1022: suspend test fails on Mac OS when suspending Vim Commit: https://github.com/vim/vim/commit/af34543b926a8704c3346d41e57a219baa5ca61c Author: Bram Moolenaar Date: Tue Dec 6 16:09:52 2022 +0000 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. diff --git a/src/testdir/test_suspend.vim b/src/testdir/test_suspend.vim --- a/src/testdir/test_suspend.vim +++ b/src/testdir/test_suspend.vim @@ -34,7 +34,7 @@ func Test_suspend() call term_sendkeys(buf, v:progpath \ . " --clean -X" - \ . " -c 'set nu'" + \ . " -c 'set nu keyprotocol='" \ . " -c 'call setline(1, \"foo\")'" \ . " Xfoo\") " 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 \ . " --clean -X" - \ . " -c 'set nu'" + \ . " -c 'set nu keyprotocol='" \ . " -c 'let g:count = 0'" \ . " -c 'au VimSuspend * let g:count += 1'" \ . " -c 'au VimResume * let g:count += 1'" diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -696,6 +696,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 1022, +/**/ 1021, /**/ 1020,