Patch 9.0.0559

2 views
Skip to first unread message

Bram Moolenaar

unread,
Sep 23, 2022, 1:23:12 PM9/23/22
to vim...@googlegroups.com

Patch 9.0.0559
Problem: Timer test may get stuck at hit-enter prompt.
Solution: Feed some more characters.
Files: src/testdir/test_timers.vim


*** ../vim-9.0.0558/src/testdir/test_timers.vim 2022-09-02 15:15:11.063569185 +0100
--- src/testdir/test_timers.vim 2022-09-23 18:19:59.297523091 +0100
***************
*** 379,389 ****
let a = {'foo', 'bar'}
endfunc
func FeedChar(id)
! call feedkeys('x', 't')
endfunc
call timer_start(300, 'FeedChar')
call timer_start(100, 'CauseAnError')
! let x = getchar()

set ut&
call test_override('no_wait_return', 1)
--- 379,391 ----
let a = {'foo', 'bar'}
endfunc
func FeedChar(id)
! call feedkeys(":\<CR>", 't')
endfunc
call timer_start(300, 'FeedChar')
call timer_start(100, 'CauseAnError')
! let x = getchar() " wait for error in timer
! let x = getchar(0) " read any remaining chars
! let x = getchar(0)

set ut&
call test_override('no_wait_return', 1)
*** ../vim-9.0.0558/src/version.c 2022-09-23 16:37:15.372190942 +0100
--- src/version.c 2022-09-23 18:21:16.229390696 +0100
***************
*** 701,702 ****
--- 701,704 ----
{ /* Add new patch number below this line */
+ /**/
+ 559,
/**/

--
hundred-and-one symptoms of being an internet addict:
144. You eagerly await the update of the "Cool Site of the Day."

/// 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