mirror of
https://github.com/zoriya/vim.git
synced 2025-12-23 23:55:18 +00: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
@@ -1798,6 +1798,9 @@ display_showcmd(void)
|
||||
{
|
||||
int len;
|
||||
|
||||
if (p_ch == 0)
|
||||
return;
|
||||
|
||||
cursor_off();
|
||||
|
||||
len = (int)STRLEN(showcmd_buf);
|
||||
|
||||
Reference in New Issue
Block a user