fix(ui): make window resize commands manage cmdheight

Previously, the window resize commands did not resize the value of `cmdheight` when they caused a change in the topframe height, leaving a gap between the end of topframe and the start of the command line, this commit fixes that by making window resize commands automatically change the value of cmdheight if the resize affects the height of topframe.
This commit is contained in:
Famiu Haque
2022-02-08 20:28:52 +06:00
committed by bfredl
parent b08cf73be9
commit 463174b5d7
2 changed files with 11 additions and 3 deletions

View File

@@ -33,8 +33,8 @@ describe('cmdline', function()
~ |
~ |
~ |
6 |
7 |
|
|
|
]])
end)