Mercurial > vim
diff src/ex_docmd.c @ 30005:bb0e525e1393 v9.0.0340
patch 9.0.0340: the 'cmdheight' zero support causes too much trouble
Commit: https://github.com/vim/vim/commit/a2a8973e51a0052bb52e43a2b22e7ecdecc32003
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Aug 31 14:46:18 2022 +0100
patch 9.0.0340: the 'cmdheight' zero support causes too much trouble
Problem: The 'cmdheight' zero support causes too much trouble.
Solution: Revert support for 'cmdheight' being zero.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 31 Aug 2022 16:00:05 +0200 |
parents | 4fcf816aa806 |
children | b97a870a7c63 |
line wrap: on
line diff
--- a/src/ex_docmd.c +++ b/src/ex_docmd.c @@ -8370,14 +8370,9 @@ ex_redraw(exarg_T *eap) // After drawing the statusline screen_attr may still be set. screen_stop_highlight(); -#ifdef HAS_MESSAGE_WINDOW - if (!use_message_window()) // append messages in the message window -#endif - { - // Reset msg_didout, so that a message that's there is overwritten. - msg_didout = FALSE; - msg_col = 0; - } + // Reset msg_didout, so that a message that's there is overwritten. + msg_didout = FALSE; + msg_col = 0; // No need to wait after an intentional redraw. need_wait_return = FALSE;