0
0
mirror of https://github.com/vim/vim.git synced 2025-07-26 11:04:33 -04:00

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 #7968)
This commit is contained in:
Bram Moolenaar 2021-03-16 21:17:16 +01:00
parent 3214812997
commit 1e448465e1
2 changed files with 6 additions and 1 deletions

View File

@ -165,7 +165,10 @@ func Test_term_mouse_multiple_clicks_to_select_mode()
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

View File

@ -750,6 +750,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
2610,
/**/
2609,
/**/