Patch 8.2.3806
Problem:    Terminal focus test fails sometimes.
Solution:   Run the test function before others.
Files:      src/testdir/test_terminal.vim


*** ../vim-8.2.3805/src/testdir/test_terminal.vim       2021-12-13 
22:17:40.114951323 +0000
--- src/testdir/test_terminal.vim       2021-12-14 11:13:45.238061534 +0000
***************
*** 1124,1130 ****
    unlet g:job
  endfunc
  
! func Test_terminal_focus_events()
    CheckNotGui
    CheckUnix
    CheckRunVimInTerminal
--- 1124,1131 ----
    unlet g:job
  endfunc
  
! " Run this first, it fails when run after other tests.
! func Test_aa_terminal_focus_events()
    CheckNotGui
    CheckUnix
    CheckRunVimInTerminal
***************
*** 1137,1144 ****
        set term=xterm ttymouse=xterm2
        au FocusLost * call setline(1, 'I am lost') | set nomod
        au FocusGained * call setline(1, 'I am back') | set nomod
-       " FIXME: sometimes this job hangs, exit after a couple of seconds
-       call timer_start(2000, {id -> execute('qall')})
    END
    call writefile(lines, 'XtermFocus')
    let buf = RunVimInTerminal('-S XtermFocus', #{rows: 6})
--- 1138,1143 ----
*** ../vim-8.2.3805/src/version.c       2021-12-14 09:34:37.285051286 +0000
--- src/version.c       2021-12-14 11:14:27.570052524 +0000
***************
*** 751,752 ****
--- 751,754 ----
  {   /* Add new patch number below this line */
+ /**/
+     3806,
  /**/

-- 
Due knot trussed yore spell chequer two fined awl miss steaks.

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///                                                                      \\\
\\\        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
 \\\            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/20211214111949.7233C1C014A%40moolenaar.net.

Raspunde prin e-mail lui