mirror of
https://github.com/neovim/neovim.git
synced 2025-09-18 09:18:19 +00:00
fix(ui-ext): send title to newly-attached UI
This commit is contained in:
@@ -117,6 +117,12 @@ local function screen_tests(linegrid)
|
||||
screen:expect(function()
|
||||
eq(expected, screen.title)
|
||||
end)
|
||||
screen:detach()
|
||||
screen.title = nil
|
||||
screen:attach()
|
||||
screen:expect(function()
|
||||
eq(expected, screen.title)
|
||||
end)
|
||||
end)
|
||||
end)
|
||||
|
||||
@@ -128,6 +134,12 @@ local function screen_tests(linegrid)
|
||||
screen:expect(function()
|
||||
eq(expected, screen.icon)
|
||||
end)
|
||||
screen:detach()
|
||||
screen.icon = nil
|
||||
screen:attach()
|
||||
screen:expect(function()
|
||||
eq(expected, screen.icon)
|
||||
end)
|
||||
end)
|
||||
end)
|
||||
|
||||
|
Reference in New Issue
Block a user