mirror of
https://github.com/neovim/neovim.git
synced 2025-10-21 09:12:07 +00:00
tests: test for redrawing tabline when msgsep marker goes outside screen
This commit is contained in:
@@ -354,6 +354,43 @@ local function screen_tests(newgrid)
|
||||
{0:~ }|
|
||||
|
|
||||
]])
|
||||
|
||||
feed(':echo "'..string.rep('x\\n', 12)..'"<cr>')
|
||||
screen:expect([[
|
||||
x |
|
||||
x |
|
||||
x |
|
||||
x |
|
||||
x |
|
||||
x |
|
||||
x |
|
||||
x |
|
||||
x |
|
||||
x |
|
||||
x |
|
||||
x |
|
||||
|
|
||||
{7:Press ENTER or type command to continue}^ |
|
||||
]])
|
||||
|
||||
feed('<cr>')
|
||||
screen:expect([[
|
||||
{4: [No Name] }{2: [No Name] }{3: }{4:X}|
|
||||
^ |
|
||||
{0:~ }|
|
||||
{0:~ }|
|
||||
{0:~ }|
|
||||
{0:~ }|
|
||||
{0:~ }|
|
||||
{0:~ }|
|
||||
{0:~ }|
|
||||
{0:~ }|
|
||||
{0:~ }|
|
||||
{0:~ }|
|
||||
{0:~ }|
|
||||
|
|
||||
]])
|
||||
|
||||
end)
|
||||
end)
|
||||
|
||||
|
Reference in New Issue
Block a user