mirror of
https://github.com/neovim/neovim.git
synced 2025-10-22 17:11:49 +00:00
fixup: 35 col resize to scroll screen
This commit is contained in:
@@ -117,46 +117,46 @@ local function test_cmdline(linegrid)
|
|||||||
end)
|
end)
|
||||||
|
|
||||||
it('but not with scrolled messages', function()
|
it('but not with scrolled messages', function()
|
||||||
screen:try_resize(49,10)
|
screen:try_resize(35,10)
|
||||||
feed(':echoerr doesnotexist<cr>')
|
feed(':echoerr doesnotexist<cr>')
|
||||||
screen:expect{grid=[[
|
screen:expect{grid=[[
|
||||||
^ |
|
|
|
||||||
{1:~ }|
|
{1:~ }|
|
||||||
{1:~ }|
|
{1:~ }|
|
||||||
{1:~ }|
|
{1:~ }|
|
||||||
{1:~ }|
|
{1:~ }|
|
||||||
{1:~ }|
|
{3: }|
|
||||||
{1:~ }|
|
{4:E121: Undefined variable: doesnotex}|
|
||||||
{1:~ }|
|
{4:ist} |
|
||||||
{3:n }|
|
{5:Press ENTER or type command to cont}|
|
||||||
{4:E121: Undefined variable: doesnotexist} |
|
{5:inue}^ |
|
||||||
]]}
|
]]}
|
||||||
feed(':echoerr doesnotexist<cr>')
|
feed(':echoerr doesnotexist<cr>')
|
||||||
screen:expect{grid=[[
|
screen:expect{grid=[[
|
||||||
^ |
|
|
|
||||||
{1:~ }|
|
{1:~ }|
|
||||||
{1:~ }|
|
{3: }|
|
||||||
{1:~ }|
|
{4:E121: Undefined variable: doesnotex}|
|
||||||
{1:~ }|
|
{4:ist} |
|
||||||
{1:~ }|
|
{5:Press ENTER or type command to cont}|
|
||||||
{1:~ }|
|
{4:E121: Undefined variable: doesnotex}|
|
||||||
{1:~ }|
|
{4:ist} |
|
||||||
{3:n }|
|
{5:Press ENTER or type command to cont}|
|
||||||
{4:E121: Undefined variable: doesnotexist} |
|
{5:inue}^ |
|
||||||
]]}
|
]]}
|
||||||
|
|
||||||
feed(':echoerr doesnotexist<cr>')
|
feed(':echoerr doesnotexist<cr>')
|
||||||
screen:expect{grid=[[
|
screen:expect{grid=[[
|
||||||
^ |
|
{4:E121: Undefined variable: doesnotex}|
|
||||||
{1:~ }|
|
{4:ist} |
|
||||||
{1:~ }|
|
{5:Press ENTER or type command to cont}|
|
||||||
{1:~ }|
|
{4:E121: Undefined variable: doesnotex}|
|
||||||
{1:~ }|
|
{4:ist} |
|
||||||
{1:~ }|
|
{5:Press ENTER or type command to cont}|
|
||||||
{1:~ }|
|
{4:E121: Undefined variable: doesnotex}|
|
||||||
{1:~ }|
|
{4:ist} |
|
||||||
{3:n }|
|
{5:Press ENTER or type command to cont}|
|
||||||
{4:E121: Undefined variable: doesnotexist} |
|
{5:inue}^ |
|
||||||
]]}
|
]]}
|
||||||
|
|
||||||
feed('<cr>')
|
feed('<cr>')
|
||||||
@@ -170,7 +170,7 @@ local function test_cmdline(linegrid)
|
|||||||
{1:~ }|
|
{1:~ }|
|
||||||
{1:~ }|
|
{1:~ }|
|
||||||
{3:n }|
|
{3:n }|
|
||||||
{4:E121: Undefined variable: doesnotexist} |
|
|
|
||||||
]]}
|
]]}
|
||||||
end)
|
end)
|
||||||
end)
|
end)
|
||||||
|
Reference in New Issue
Block a user