fix(redraw): handle switching to a tabpage with larger p_ch value

This commit is contained in:
bfredl
2022-08-29 21:58:07 +02:00
parent efacb6e974
commit 8fd66ff5c5
2 changed files with 6 additions and 3 deletions

View File

@@ -19,8 +19,6 @@ describe('cmdline', function()
[3] = {reverse = true};
[4] = {bold = true, foreground = Screen.colors.Blue1};
}
-- TODO(bfredl): redraw with tabs is severly broken. fix it
feed_command [[ set display-=msgsep ]]
feed_command([[call setline(1, range(30))]])
screen:expect([[
@@ -61,7 +59,7 @@ describe('cmdline', function()
{4:~ }|
|
|
:tabnew |
|
]]}
feed [[gt]]