Patch 9.0.1022
Problem:    Suspend test fails on Mac OS when suspending Vim.
Solution:   Make 'keyprotocol' empty.
Files:      src/testdir/test_suspend.vim


*** ../vim-9.0.1021/src/testdir/test_suspend.vim        2022-12-06 
09:11:34.338527750 +0000
--- src/testdir/test_suspend.vim        2022-12-06 16:08:30.631647387 +0000
***************
*** 34,40 ****
  
    call term_sendkeys(buf, v:progpath
          \               . " --clean -X"
!         \               . " -c 'set nu'"
          \               . " -c 'call setline(1, \"foo\")'"
          \               . " Xfoo\<CR>")
    " Cursor in terminal buffer should be on first line in spawned vim.
--- 34,40 ----
  
    call term_sendkeys(buf, v:progpath
          \               . " --clean -X"
!         \               . " -c 'set nu keyprotocol='"
          \               . " -c 'call setline(1, \"foo\")'"
          \               . " Xfoo\<CR>")
    " Cursor in terminal buffer should be on first line in spawned vim.
***************
*** 84,90 ****
  
    call term_sendkeys(buf, v:progpath
          \               . " --clean -X"
!         \               . " -c 'set nu'"
          \               . " -c 'let g:count = 0'"
          \               . " -c 'au VimSuspend * let g:count += 1'"
          \               . " -c 'au VimResume * let g:count += 1'"
--- 84,90 ----
  
    call term_sendkeys(buf, v:progpath
          \               . " --clean -X"
!         \               . " -c 'set nu keyprotocol='"
          \               . " -c 'let g:count = 0'"
          \               . " -c 'au VimSuspend * let g:count += 1'"
          \               . " -c 'au VimResume * let g:count += 1'"
*** ../vim-9.0.1021/src/version.c       2022-12-06 15:07:51.744470475 +0000
--- src/version.c       2022-12-06 16:09:21.191660549 +0000
***************
*** 697,698 ****
--- 697,700 ----
  {   /* Add new patch number below this line */
+ /**/
+     1022,
  /**/

-- 
hundred-and-one symptoms of being an internet addict:
245. You use Real Audio to listen to a radio station from a distant
     city rather than turn on your stereo system.

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///                                                                      \\\
\\\        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/20221206161019.529DB1C07A0%40moolenaar.net.

Raspunde prin e-mail lui