neovim

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

commit 2a84e20ff50073a88899ea5a6a8ec6a9cb8d6fc7
parent f6f96c972a3d79255be5cbed6706103a52d8d419
Author: zeertzjq <zeertzjq@outlook.com>
Date:   Fri, 28 Apr 2023 14:23:37 +0800

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.

https://github.com/vim/vim/commit/564344ace9ef06b22e4e60a0196c41b410ac27da

Use CheckFeature clipboard_working from latest test instead.

Co-authored-by: Bram Moolenaar <Bram@vim.org>

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

diff --git a/test/old/testdir/test_termcodes.vim b/test/old/testdir/test_termcodes.vim @@ -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