Patch 9.0.1013

6 views
Skip to first unread message

Bram Moolenaar

unread,
Dec 5, 2022, 4:22:24 PM12/5/22
to vim...@googlegroups.com

Patch 9.0.1013
Problem: Suspend test often fails on Mac OS.
Solution: Make t_RP empty.
Files: src/testdir/test_suspend.vim


*** ../vim-9.0.1012/src/testdir/test_suspend.vim 2022-12-05 13:50:49.718052362 +0000
--- src/testdir/test_suspend.vim 2022-12-05 21:16:56.123314313 +0000
***************
*** 22,32 ****
CheckFeature terminal
CheckExecutable /bin/sh

call WaitForResponses()
- if has('mac')
- " Mac OS machines tend to be slow, wait a bit longer
- sleep 150m
- endif

let buf = term_start('/bin/sh')
" Wait for shell prompt.
--- 22,32 ----
CheckFeature terminal
CheckExecutable /bin/sh

+ " Somehow the modifyOtherKeys response may get to the terminal when using Mac
+ " OS. Make t_RK empty to avoid that.
+ set t_RK=
+
call WaitForResponses()

let buf = term_start('/bin/sh')
" Wait for shell prompt.
***************
*** 72,82 ****
CheckFeature terminal
CheckExecutable /bin/sh

call WaitForResponses()
- if has('mac')
- " Mac OS machines tend to be slow, wait a bit longer
- sleep 150m
- endif

let buf = term_start('/bin/sh', #{term_rows: 6})
" Wait for shell prompt.
--- 72,82 ----
CheckFeature terminal
CheckExecutable /bin/sh

+ " Somehow the modifyOtherKeys response may get to the terminal when using Mac
+ " OS. Make t_RK empty to avoid that.
+ set t_RK=
+
call WaitForResponses()

let buf = term_start('/bin/sh', #{term_rows: 6})
" Wait for shell prompt.
*** ../vim-9.0.1012/src/version.c 2022-12-05 20:58:01.191236353 +0000
--- src/version.c 2022-12-05 21:21:22.495308714 +0000
***************
*** 697,698 ****
--- 697,700 ----
{ /* Add new patch number below this line */
+ /**/
+ 1013,
/**/

--
hundred-and-one symptoms of being an internet addict:
240. You think Webster's Dictionary is a directory of WEB sites.

/// Bram Moolenaar -- Br...@Moolenaar.net -- http://www.Moolenaar.net \\\
/// \\\
\\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
Reply all
Reply to author
Forward
0 new messages