diff options
author | zeertzjq <zeertzjq@outlook.com> | 2023-05-06 10:01:26 +0800 |
---|---|---|
committer | zeertzjq <zeertzjq@outlook.com> | 2023-05-06 10:03:39 +0800 |
commit | 4a4b10d9b646ded43a62f9da940e1545ba6af346 (patch) | |
tree | 039bbf866adac402c6945509da9815238c18ae23 | |
parent | e8661133c533345e8d83a38b077e45922988fa90 (diff) | |
download | rneovim-4a4b10d9b646ded43a62f9da940e1545ba6af346.tar.gz rneovim-4a4b10d9b646ded43a62f9da940e1545ba6af346.tar.bz2 rneovim-4a4b10d9b646ded43a62f9da940e1545ba6af346.zip |
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 vim/vim#7576,
closes vim/vim#7563)
https://github.com/vim/vim/commit/2a5c61a0196d2d67313f5b3189974211e6f33562
-rw-r--r-- | test/old/testdir/test_termcodes.vim | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/test/old/testdir/test_termcodes.vim b/test/old/testdir/test_termcodes.vim index b9b207191e..a00ea02286 100644 --- a/test/old/testdir/test_termcodes.vim +++ b/test/old/testdir/test_termcodes.vim @@ -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 |