fix(ui): always use stl/stlnc fillchars when drawing statusline (#25267)

This commit is contained in:
tj-moody
2023-09-23 22:49:47 -04:00
committed by GitHub
parent cfb898cd8a
commit 046c9a83f7
7 changed files with 32 additions and 29 deletions

View File

@@ -799,3 +799,21 @@ it("shows correct ruler in cmdline with no statusline", function()
3longlonglong |
]]
end)
it('uses "stl" and "stlnc" fillchars even if they are the same #19803', function()
clear()
local screen = Screen.new(53, 4)
screen:attach()
screen:set_default_attr_ids({
[1] = {bold = true, foreground = Screen.colors.Blue}, -- NonText
})
command('hi clear StatusLine')
command('hi clear StatusLineNC')
command('vsplit')
screen:expect{grid=[[
^ │ |
{1:~ }│{1:~ }|
[No Name] [No Name] |
|
]]}
end)