feat(ui-ext): make 'mousehide' into proper ui_option (#25532)

This commit is contained in:
Jaehoon Hwang
2023-10-09 01:48:24 -07:00
committed by GitHub
parent f96f8566b5
commit dacd34364f
4 changed files with 11 additions and 0 deletions

View File

@@ -19,6 +19,7 @@ describe('UI receives option updates', function()
linespace=0,
pumblend=0,
mousefocus=false,
mousehide=true,
mousemoveevent=false,
showtabline=1,
termguicolors=false,
@@ -133,6 +134,12 @@ describe('UI receives option updates', function()
eq(expected, screen.options)
end)
command("set nomousehide")
expected.mousehide = false
screen:expect(function()
eq(expected, screen.options)
end)
command("set mousemoveevent")
expected.mousemoveevent = true
screen:expect(function()