From c1652bdcb5b5ca95b5ae328cec582f23816b70dd Mon Sep 17 00:00:00 2001 From: Shougo Date: Sun, 31 Jul 2022 14:13:19 +0900 Subject: cmdheight=0: fix bugs part2 (#19185) --- src/nvim/normal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/nvim/normal.c') diff --git a/src/nvim/normal.c b/src/nvim/normal.c index e3bd4de9a0..fae22ce06f 100644 --- a/src/nvim/normal.c +++ b/src/nvim/normal.c @@ -2810,7 +2810,7 @@ void pop_showcmd(void) static void display_showcmd(void) { - if (p_ch < 1 && !ui_has(kUIMessages)) { + if (!ui_has_messages()) { return; } -- cgit