mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
patch 9.0.0114: the command line takes up space even when not used
Problem: The command line takes up space even when not used. Solution: Allow for 'cmdheight' to be set to zero. (Shougo Matsushita, closes #10675, closes #940)
This commit is contained in:
committed by
Bram Moolenaar
parent
d90f91fe30
commit
f39cfb7262
@@ -3559,7 +3559,7 @@ set_num_option(
|
||||
// if p_ch changed value, change the command line height
|
||||
else if (pp == &p_ch)
|
||||
{
|
||||
if (p_ch < 1)
|
||||
if (p_ch < 0)
|
||||
{
|
||||
errmsg = e_argument_must_be_positive;
|
||||
p_ch = 1;
|
||||
|
Reference in New Issue
Block a user