Merge pull request #23499 from zeertzjq/vim-8.2.2610

vim-patch:8.2.{2249,2610}: mouse click test fails over ssh
This commit is contained in:
zeertzjq 2023-05-06 11:15:13 +08:00 committed by GitHub
commit a72e795eda
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 4 deletions

View File

@ -166,8 +166,11 @@ 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
set mouse=a 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 mouse=a mousetime=1000
set selectmode=mouse
new

View File

@ -680,8 +680,11 @@ func Test_term_mouse_multiple_clicks_to_visually_select()
let save_term = &term
" let save_ttymouse = &ttymouse
" call test_override('no_query_mouse', 1)
" set mouse=a term=xterm mousetime=200
set mouse=a 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
set mouse=a mousetime=600
new
for ttymouse_val in g:Ttymouse_values + g:Ttymouse_dec