From 463174b5d76d9a88fab02db144aaaac7fa19efd1 Mon Sep 17 00:00:00 2001 From: Famiu Haque Date: Tue, 8 Feb 2022 20:28:52 +0600 Subject: 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. --- test/functional/legacy/cmdline_spec.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test') diff --git a/test/functional/legacy/cmdline_spec.lua b/test/functional/legacy/cmdline_spec.lua index 9ebe9aeb91..2868279a97 100644 --- a/test/functional/legacy/cmdline_spec.lua +++ b/test/functional/legacy/cmdline_spec.lua @@ -33,8 +33,8 @@ describe('cmdline', function() ~ | ~ | ~ | - 6 | - 7 | + | + | | ]]) end) -- cgit