mirror of
https://github.com/neovim/neovim.git
synced 2025-09-24 03:58:32 +00:00
vim-patch:9.0.0190: the way 'cmdheight' can be made zero is inconsistent
Problem: The way 'cmdheight' can be made zero is inconsistent.
Solution: Only make 'cmdheight' zero when setting it explicitly, not when
resizing windows. (closes vim/vim#10890)
f797e309ca
This commit is contained in:

committed by
zeertzjq

parent
d74f9c3b94
commit
5977a96b3f
@@ -394,7 +394,7 @@ describe('global statusline', function()
|
||||
meths.input_mouse('left', 'drag', '', 0, 14, 10)
|
||||
eq(1, meths.get_option('cmdheight'))
|
||||
meths.input_mouse('left', 'drag', '', 0, 15, 10)
|
||||
eq(0, meths.get_option('cmdheight'))
|
||||
eq(1, meths.get_option('cmdheight'))
|
||||
meths.input_mouse('left', 'drag', '', 0, 14, 10)
|
||||
eq(1, meths.get_option('cmdheight'))
|
||||
end)
|
||||
|
Reference in New Issue
Block a user