summaryrefslogtreecommitdiffstats
path: root/src/ex_docmd.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2022-08-31 14:46:18 +0100
committerBram Moolenaar <Bram@vim.org>2022-08-31 14:46:18 +0100
commita2a8973e51a0052bb52e43a2b22e7ecdecc32003 (patch)
tree42700a5eab4930539b87591ad903f7271b527fc3 /src/ex_docmd.c
parenta63ad78ed31e36dbdf3a9cd28071dcdbefce7d19 (diff)
patch 9.0.0340: the 'cmdheight' zero support causes too much troublev9.0.0340
Problem: The 'cmdheight' zero support causes too much trouble. Solution: Revert support for 'cmdheight' being zero.
Diffstat (limited to 'src/ex_docmd.c')
-rw-r--r--src/ex_docmd.c11
1 files changed, 3 insertions, 8 deletions
diff --git a/src/ex_docmd.c b/src/ex_docmd.c
index 1891d8085a..0d52f58e62 100644
--- 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;