aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2023-05-06 09:58:10 +0800
committerzeertzjq <zeertzjq@outlook.com>2023-05-06 10:03:40 +0800
commitf6cc0f614f1b8a865e72f615fb9bc94354585b30 (patch)
treed60cafd5fbaa47f50e6380b3c5cd9f9bd5109487
parent4a4b10d9b646ded43a62f9da940e1545ba6af346 (diff)
downloadrneovim-f6cc0f614f1b8a865e72f615fb9bc94354585b30.tar.gz
rneovim-f6cc0f614f1b8a865e72f615fb9bc94354585b30.tar.bz2
rneovim-f6cc0f614f1b8a865e72f615fb9bc94354585b30.zip
vim-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 vim/vim#7968) https://github.com/vim/vim/commit/1e448465e1281eeb379f75fe848cbb47fe1be1d9
-rw-r--r--test/old/testdir/test_selectmode.vim7
1 files changed, 5 insertions, 2 deletions
diff --git a/test/old/testdir/test_selectmode.vim b/test/old/testdir/test_selectmode.vim
index d1afd5204f..dd341d99d1 100644
--- a/test/old/testdir/test_selectmode.vim
+++ b/test/old/testdir/test_selectmode.vim
@@ -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