Patch 8.2.1607
Problem: Vim9: getchar() test fails on MS-Windows.
Solution: First consume any available input.
Files: src/testdir/test_vim9_func.vim
*** ../vim-8.2.1606/src/testdir/test_vim9_func.vim 2020-09-05 18:45:26.047602885 +0200
--- src/testdir/test_vim9_func.vim 2020-09-05 18:47:46.343322347 +0200
***************
*** 1506,1511 ****
--- 1506,1513 ----
enddef
def Test_getchar()
+ while getchar(0)
+ endwhile
assert_equal(0, getchar(true))
enddef
*** ../vim-8.2.1606/src/version.c 2020-09-05 18:45:26.047602885 +0200
--- src/version.c 2020-09-05 18:48:38.543215703 +0200
***************
*** 756,757 ****
--- 756,759 ----
{ /* Add new patch number below this line */
+ /**/
+ 1607,
/**/
--
"It's so simple to be wise. Just think of something stupid to say
and then don't say it." -- Sam Levenson
/// Bram Moolenaar -- Br...@Moolenaar.net --
http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features --
http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language --
http://www.Zimbu.org ///
\\\ help me help AIDS victims --
http://ICCF-Holland.org ///