vim-patch:8.1.1223: middle mouse click test fails without a clipboard

Problem:    Middle mouse click test fails without a clipboard.
Solution:   Check if the clipboard can be used. (Dominique Pelle, Christian
            Brabandt)  Also use WorkingClipboard() instead of checking for the
            "clipboard" feature.

564344ace9

Use CheckFeature clipboard_working from latest test instead.

Co-authored-by: Bram Moolenaar <Bram@vim.org>
This commit is contained in:
zeertzjq 2023-04-28 14:23:37 +08:00
parent f6f96c972a
commit 2a84e20ff5

View File

@ -35,6 +35,8 @@ func Test_xterm_mouse_left_click()
endfunc
func Test_xterm_mouse_middle_click()
CheckFeature clipboard_working
new
let save_mouse = &mouse
let save_term = &term