fix(mouse): cmdline click registered as statuscolumn

(cherry picked from commit dea3774def)
This commit is contained in:
Luuk van Baal
2023-04-17 18:30:11 +02:00
committed by github-actions[bot]
parent 8e2af977b1
commit 54c6dfa009
2 changed files with 7 additions and 3 deletions

View File

@@ -457,6 +457,9 @@ describe('statuscolumn', function()
-- Check that statusline click doesn't register as statuscolumn click
meths.input_mouse('right', 'press', '', 0, 12, 0)
eq('', eval("g:testvar"))
-- Check that cmdline click doesn't register as statuscolumn click
meths.input_mouse('right', 'press', '', 0, 13, 0)
eq('', eval("g:testvar"))
end)
it('click labels do not leak memory', function()