mirror of
https://github.com/neovim/neovim.git
synced 2025-11-17 15:51:32 +00:00
fix(ui-ext): send title to newly-attached UI
(cherry picked from commit 43d66c0ebb)
This commit is contained in:
committed by
github-actions[bot]
parent
624c25a70a
commit
86a1e79ee2
@@ -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