forked from aniani/vim
patch 8.2.2249: termcodes test is flaky when used over ssh
Problem: Termcodes test is flaky when used over ssh with X forwarding. Solution: Set 'mousetime' to a larger value. (Dominique Pellé, closes #7576, closes #7563)
This commit is contained in:
@@ -851,7 +851,10 @@ func Test_term_mouse_multiple_clicks_to_visually_select()
|
|||||||
let save_term = &term
|
let save_term = &term
|
||||||
let save_ttymouse = &ttymouse
|
let save_ttymouse = &ttymouse
|
||||||
call test_override('no_query_mouse', 1)
|
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 (issue #7563).
|
||||||
|
set mouse=a term=xterm mousetime=600
|
||||||
new
|
new
|
||||||
|
|
||||||
for ttymouse_val in g:Ttymouse_values + g:Ttymouse_dec
|
for ttymouse_val in g:Ttymouse_values + g:Ttymouse_dec
|
||||||
|
@@ -750,6 +750,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
2249,
|
||||||
/**/
|
/**/
|
||||||
2248,
|
2248,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user