mirror of
https://github.com/neovim/neovim.git
synced 2025-12-15 19:05:40 +00:00
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
03cd697d63
This commit is contained in:
@@ -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:----------------------------------------]|
|
||||
|
||||
Reference in New Issue
Block a user