Patch 8.2.2007

6 views
Skip to first unread message

Bram Moolenaar

unread,
Nov 18, 2020, 6:24:50 AM11/18/20
to vim...@googlegroups.com

Patch 8.2.2007
Problem: Test for insert mode in popup is not reliable.
Solution: Wait for the popup to disappear. (Ozaki Kiichi, closes #7321)
Files: src/testdir/test_terminal.vim


*** ../vim-8.2.2006/src/testdir/test_terminal.vim 2020-11-16 21:10:30.368663593 +0100
--- src/testdir/test_terminal.vim 2020-11-18 12:21:37.229420300 +0100
***************
*** 1266,1272 ****
call assert_equal('n', mode())

call feedkeys("\<C-D>", 'xt')
! sleep 50m
delfunc StartTermInPopup
iunmap <F3>
endfunc
--- 1266,1272 ----
call assert_equal('n', mode())

call feedkeys("\<C-D>", 'xt')
! call WaitFor({-> popup_list() == []})
delfunc StartTermInPopup
iunmap <F3>
endfunc
*** ../vim-8.2.2006/src/version.c 2020-11-18 12:12:35.171525154 +0100
--- src/version.c 2020-11-18 12:23:20.253143088 +0100
***************
*** 752,753 ****
--- 752,755 ----
{ /* Add new patch number below this line */
+ /**/
+ 2007,
/**/

--
ARTHUR: This new learning amazes me, Sir Bedevere. Explain again how sheep's
bladders may be employed to prevent earthquakes.
"Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD

/// 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 ///
Reply all
Reply to author
Forward
0 new messages