mirror of
https://github.com/neovim/neovim.git
synced 2025-11-15 23:01:24 +00:00
fix(ui): wincmd _ should not increase 'cmdheight' above 0 (#33056)
This commit is contained in:
@@ -1352,6 +1352,12 @@ describe('cmdline height', function()
|
||||
-- cmdheight unchanged.
|
||||
eq(1, eval('&cmdheight'))
|
||||
end)
|
||||
|
||||
it('not increased to 0 from 1 with wincmd _', function()
|
||||
command('set cmdheight=0 laststatus=0')
|
||||
command('wincmd _')
|
||||
eq(0, eval('&cmdheight'))
|
||||
end)
|
||||
end)
|
||||
|
||||
describe('cmdheight=0', function()
|
||||
|
||||
Reference in New Issue
Block a user