neovim

Neovim text editor
git clone https://git.dasho.dev/neovim.git
Log | Files | Refs | README

commit 4a4b10d9b646ded43a62f9da940e1545ba6af346
parent e8661133c533345e8d83a38b077e45922988fa90
Author: zeertzjq <zeertzjq@outlook.com>
Date:   Sat,  6 May 2023 10:01:26 +0800

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

Diffstat:
Mtest/old/testdir/test_termcodes.vim | 7+++++--
1 file changed, 5 insertions(+), 2 deletions(-)

diff --git 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