commit | f39cfb72629f3e7fefaf578a3faa2619cd0654f8 | [log] [tgz] |
---|---|---|
author | Shougo Matsushita <Shougo.Matsu@gmail.com> | Sat Jul 30 16:54:05 2022 +0100 |
committer | Bram Moolenaar <Bram@vim.org> | Sat Jul 30 16:54:05 2022 +0100 |
tree | a990dd08ff44924fdfe2b915644fe49e4996ea99 | |
parent | d90f91fe3075bb51668ed926182b2163da9df001 [diff] [blame] |
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)
diff --git a/src/normal.c b/src/normal.c index 932d723..4033d7d 100644 --- a/src/normal.c +++ b/src/normal.c
@@ -1798,6 +1798,9 @@ { int len; + if (p_ch == 0) + return; + cursor_off(); len = (int)STRLEN(showcmd_buf);