Mercurial > vim
view src/testdir/test_feedkeys.vim @ 21271:51ff7e5abdda v8.2.1186
patch 8.2.1186: with SGR mouse codes balloon doesn't show up after click
Commit: https://github.com/vim/vim/commit/13c046316b2e651871701ed81e2ba4763b19b67d
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Jul 12 13:47:42 2020 +0200
patch 8.2.1186: with SGR mouse codes balloon doesn't show up after click
Problem: With SGR mouse codes balloon doesn't show up after click.
Solution: Add the MOUSE_RELEASE bits to mouse_code.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 12 Jul 2020 14:00:04 +0200 |
parents | 6b70b9cdebfc |
children | 08940efa6b4e |
line wrap: on
line source
" Test feedkeys() function. func Test_feedkeys_x_with_empty_string() new call feedkeys("ifoo\<Esc>") call assert_equal('', getline('.')) call feedkeys('', 'x') call assert_equal('foo', getline('.')) " check it goes back to normal mode immediately. call feedkeys('i', 'x') call assert_equal('foo', getline('.')) quit! endfunc