Mercurial > vim
diff src/testdir/test_selectmode.vim @ 24138:7a2a737dc6ec v8.2.2610
patch 8.2.2610: mouse click test fails when using remote connection
Commit: https://github.com/vim/vim/commit/1e448465e1281eeb379f75fe848cbb47fe1be1d9
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Mar 16 21:17:16 2021 +0100
patch 8.2.2610: mouse click test fails when using remote connection
Problem: Mouse click test fails when using remote connection.
Solution: Use a larger 'mousetime'. (Dominique Pell?, closes https://github.com/vim/vim/issues/7968)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Tue, 16 Mar 2021 21:30:03 +0100 |
parents | 505d97ea54da |
children | 93d4ee1e6113 |
line wrap: on
line diff
--- a/src/testdir/test_selectmode.vim +++ b/src/testdir/test_selectmode.vim @@ -165,7 +165,10 @@ func Test_term_mouse_multiple_clicks_to_ let save_term = &term let save_ttymouse = &ttymouse call test_override('no_query_mouse', 1) - set mouse=a term=xterm mousetime=200 + + " 'mousetime' must be sufficiently large, or else the test is flaky when + " using a ssh connection with X forwarding; i.e. ssh -X. + set mouse=a term=xterm mousetime=1000 set selectmode=mouse new