changeset 31377:543cb94c6c09 v9.0.1022

patch 9.0.1022: suspend test fails on Mac OS when suspending Vim Commit: https://github.com/vim/vim/commit/af34543b926a8704c3346d41e57a219baa5ca61c Author: Bram Moolenaar <Bram@vim.org> 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.
author Bram Moolenaar <Bram@vim.org>
date Tue, 06 Dec 2022 17:15:03 +0100
parents 8afb8f0bbc66
children c6c4336ac00d
files src/testdir/test_suspend.vim src/version.c
diffstat 2 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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\<CR>")
   " 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'"
--- 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,