changeset 23412:d2c23042bb0e v8.2.2249

patch 8.2.2249: termcodes test is flaky when used over ssh Commit: https://github.com/vim/vim/commit/2a5c61a0196d2d67313f5b3189974211e6f33562 Author: Bram Moolenaar <Bram@vim.org> Date: Wed Dec 30 14:59:23 2020 +0100 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 https://github.com/vim/vim/issues/7576, closes #7563)
author Bram Moolenaar <Bram@vim.org>
date Wed, 30 Dec 2020 15:00:05 +0100
parents 80df4b462780
children 490f599d5bbc
files src/testdir/test_termcodes.vim src/version.c
diffstat 2 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/testdir/test_termcodes.vim
+++ b/src/testdir/test_termcodes.vim
@@ -851,7 +851,10 @@ func Test_term_mouse_multiple_clicks_to_
   let save_term = &term
   let save_ttymouse = &ttymouse
   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
 
   for ttymouse_val in g:Ttymouse_values + g:Ttymouse_dec
--- a/src/version.c
+++ b/src/version.c
@@ -751,6 +751,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    2249,
+/**/
     2248,
 /**/
     2247,