mirror of
https://github.com/neovim/neovim.git
synced 2025-12-16 03:15:39 +00:00
fix(mouse): don't treat click on hsep as click on statusline (#29565)
This allows showing popup menu when right-clicking on hsep or cmdline.
This commit is contained in:
@@ -652,9 +652,6 @@ describe('statuscolumn', function()
|
||||
-- Check that statusline click doesn't register as statuscolumn click
|
||||
api.nvim_input_mouse('right', 'press', '', 0, 12, 0)
|
||||
eq('', eval('g:testvar'))
|
||||
-- Check that cmdline click doesn't register as statuscolumn click
|
||||
api.nvim_input_mouse('right', 'press', '', 0, 13, 0)
|
||||
eq('', eval('g:testvar'))
|
||||
end)
|
||||
|
||||
it('clicks and highlights work with control characters', function()
|
||||
|
||||
Reference in New Issue
Block a user