mirror of
https://github.com/neovim/neovim.git
synced 2025-09-29 22:48:34 +00:00
fix(terminal): keep focus when scrolling number column of another window
(cherry picked from commit ca0a603bce
)
This commit is contained in:

committed by
github-actions[bot]
![github-actions[bot]](/assets/img/avatar_default.png)
parent
6f64a93764
commit
5b87e58c5a
@@ -338,7 +338,7 @@ describe(':terminal mouse', function()
|
||||
{3:-- TERMINAL --} |
|
||||
]])
|
||||
command('set mousescroll=ver:10')
|
||||
feed('<ScrollWheelUp><4,0>')
|
||||
feed('<ScrollWheelUp><0,0>')
|
||||
screen:expect([[
|
||||
{7: 16 }line │line30 |
|
||||
{7: 17 }line │rows: 5, cols: 25 |
|
||||
@@ -349,7 +349,7 @@ describe(':terminal mouse', function()
|
||||
{3:-- TERMINAL --} |
|
||||
]])
|
||||
command('set mousescroll=ver:0')
|
||||
feed('<ScrollWheelUp><4,0>')
|
||||
feed('<ScrollWheelUp><0,0>')
|
||||
screen:expect_unchanged()
|
||||
end)
|
||||
|
||||
|
Reference in New Issue
Block a user