aboutsummaryrefslogtreecommitdiff
path: root/test/functional/legacy/cmdline_spec.lua
diff options
context:
space:
mode:
authorFamiu Haque <famiuhaque@protonmail.com>2022-02-08 20:28:52 +0600
committerbfredl <bjorn.linse@gmail.com>2022-04-05 16:50:07 +0200
commit463174b5d76d9a88fab02db144aaaac7fa19efd1 (patch)
treefa83cf6cfebe59d5a8e669d04f1288e86acbf1cf /test/functional/legacy/cmdline_spec.lua
parentb08cf73be959397b5715395f1465fb76a76a6a05 (diff)
downloadrneovim-463174b5d76d9a88fab02db144aaaac7fa19efd1.tar.gz
rneovim-463174b5d76d9a88fab02db144aaaac7fa19efd1.tar.bz2
rneovim-463174b5d76d9a88fab02db144aaaac7fa19efd1.zip
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.
Diffstat (limited to 'test/functional/legacy/cmdline_spec.lua')
-rw-r--r--test/functional/legacy/cmdline_spec.lua4
1 files changed, 2 insertions, 2 deletions
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)