aboutsummaryrefslogtreecommitdiff
path: root/test/functional/ui/multigrid_spec.lua
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2023-09-21 08:00:03 +0800
committerzeertzjq <zeertzjq@outlook.com>2023-09-21 09:43:12 +0800
commitadb73772d9197a7fa6e9ee7a2e8874118e60844d (patch)
treec5c2087188b5627c2fe1f31f37e068b644c481e2 /test/functional/ui/multigrid_spec.lua
parentf094db0e5ccaddca2b5db05bf9545d55f3eededf (diff)
downloadrneovim-adb73772d9197a7fa6e9ee7a2e8874118e60844d.tar.gz
rneovim-adb73772d9197a7fa6e9ee7a2e8874118e60844d.tar.bz2
rneovim-adb73772d9197a7fa6e9ee7a2e8874118e60844d.zip
vim-patch:9.0.1919: Wrong curswant when clicking on empty line or with vsplits
Problem: Wrong curswant when clicking on empty line or with vsplits. Solution: Don't check for ScreenCols[] before the start of the window and handle empty line properly. closes: vim/vim#13132 https://github.com/vim/vim/commit/03cd697d635f1b0e7ffe21cf8244a8fb755f2ddb
Diffstat (limited to 'test/functional/ui/multigrid_spec.lua')
-rw-r--r--test/functional/ui/multigrid_spec.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/functional/ui/multigrid_spec.lua b/test/functional/ui/multigrid_spec.lua
index 1778c8218b..6f4082beda 100644
--- a/test/functional/ui/multigrid_spec.lua
+++ b/test/functional/ui/multigrid_spec.lua
@@ -2307,6 +2307,7 @@ describe('ext_multigrid', function()
{1:~ }|
]]}
+ -- XXX: mouse_check_grid() doesn't work properly when clicking on grid 1
meths.input_mouse('left', 'press', '', 1, 6, 20)
-- TODO(bfredl): "batching" input_mouse is formally not supported yet.
-- Normally it should work fine in async context when nvim is not blocked,