Patch 8.2.1264
Problem: Terminal getwinpos() test is a bit flaky.
Solution: Call getwinpos() a bit later.
Files: src/testdir/test_terminal3.vim
*** ../vim-8.2.1263/src/testdir/test_terminal3.vim 2020-07-12
21:38:25.463176446 +0200
--- src/testdir/test_terminal3.vim 2020-07-21 21:45:55.552311531 +0200
***************
*** 527,537 ****
wincmd j
set splitright
! call writefile([
! \ 'echo getwinpos()',
! \ ], 'XTest_getwinpos')
! let buf = RunVimInTerminal('-S XTest_getwinpos', {'cols': 60})
! call TermWait(buf)
" Find the output of getwinpos() in the bottom line.
let rows = term_getsize(buf)[0]
--- 527,535 ----
wincmd j
set splitright
! let buf = RunVimInTerminal('', {'cols': 60})
! call TermWait(buf, 100)
! call term_sendkeys(buf, ":echo getwinpos(500)\<CR>")
" Find the output of getwinpos() in the bottom line.
let rows = term_getsize(buf)[0]
***************
*** 557,563 ****
call TermWait(buf)
call term_sendkeys(buf, ":q\<CR>")
call StopVimInTerminal(buf)
- call delete('XTest_getwinpos')
exe buf . 'bwipe!'
set splitright&
only!
--- 555,560 ----
*** ../vim-8.2.1263/src/version.c 2020-07-21 21:30:55.015536477 +0200
--- src/version.c 2020-07-21 21:48:40.411775375 +0200
***************
*** 756,757 ****
--- 756,759 ----
{ /* Add new patch number below this line */
+ /**/
+ 1264,
/**/
--
hundred-and-one symptoms of being an internet addict:
55. You ask your doctor to implant a gig in your brain.
/// Bram Moolenaar -- [email protected] -- 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 ///
--
--
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/202007211949.06LJnPxo823757%40masaka.moolenaar.net.