aboutsummaryrefslogtreecommitdiff
path: root/test/functional/ui/float_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/float_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/float_spec.lua')
-rw-r--r--test/functional/ui/float_spec.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/functional/ui/float_spec.lua b/test/functional/ui/float_spec.lua
index f75fb52108..e077e21216 100644
--- a/test/functional/ui/float_spec.lua
+++ b/test/functional/ui/float_spec.lua
@@ -6287,7 +6287,7 @@ describe('float window', function()
end
if multigrid then
- meths.input_mouse('left', 'press', '', 1, 0, 0)
+ meths.input_mouse('left', 'press', '', 2, 0, 0)
screen:expect{grid=[[
## grid 1
[2:----------------------------------------]|
@@ -6366,7 +6366,7 @@ describe('float window', function()
end
if multigrid then
- meths.input_mouse('left', 'press', '', 1, 0, 0)
+ meths.input_mouse('left', 'press', '', 2, 0, 0)
screen:expect{grid=[[
## grid 1
[2:----------------------------------------]|