Problem: Dec mouse test fails without gnome terminfo entry.
Solution: Check if there is a gnome entry. Also fix 'acd' test on
MS-Windows. (Dominique Pellé, closes #9282)
finally
set noacd
call chdir(cwd)
- call delete('Xa', 'rf')
- call delete('Xb', 'rf')
- call delete('Xc', 'rf')
bwipe! aaa.txt
bwipe! bbb.txt
bwipe! ccc.txt
+ call delete('Xa', 'rf')
+ call delete('Xb', 'rf')
+ call delete('Xc', 'rf')
endtry
endfunc
" Check that when DEC mouse codes are recognized a special key is handled.
func Test_ignore_dec_mouse()
+ silent !infocmp gnome >/dev/null 2>&1
+ if v:shell_error != 0
+ throw 'Skipped: gnome entry missing in the terminfo db'
+ endif
new
let save_mouse = &mouse
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 3742,
/**/
3741,
/**/