diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-08-31 14:46:18 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-08-31 14:46:18 +0100 |
commit | a2a8973e51a0052bb52e43a2b22e7ecdecc32003 (patch) | |
tree | 42700a5eab4930539b87591ad903f7271b527fc3 /src/eval.c | |
parent | a63ad78ed31e36dbdf3a9cd28071dcdbefce7d19 (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/eval.c')
-rw-r--r-- | src/eval.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/eval.c b/src/eval.c index cc2e1ffcf5..2e8d938ec6 100644 --- a/src/eval.c +++ b/src/eval.c @@ -6832,17 +6832,18 @@ ex_execute(exarg_T *eap) if (eap->skip) --emsg_skip; #ifdef HAS_MESSAGE_WINDOW - if (use_message_window() && eap->cmdidx != CMD_execute) + if (eap->cmdidx == CMD_echowindow) { // show the message window now ex_redraw(eap); // do not overwrite messages + // TODO: only for message window msg_didout = TRUE; if (msg_col == 0) msg_col = 1; + in_echowindow = FALSE; } - in_echowindow = FALSE; #endif set_nextcmd(eap, arg); } |