patch 9.0.0352: using :echowindow in a timer clears part of message
Problem: using :echowindow in a timer clears part of message
Solution: Do not use msg_clr_eos().
diff --git a/src/message.c b/src/message.c
index 573f3ae..e401882 100644
--- a/src/message.c
+++ b/src/message.c
@@ -1443,7 +1443,7 @@
}
#ifdef FEAT_EVAL
- if (need_clr_eos || in_echowindow)
+ if (need_clr_eos)
{
// Halfway an ":echo" command and getting an (error) message: clear
// any text from the command.
@@ -3646,6 +3646,10 @@
void
msg_clr_eos_force(void)
{
+#ifdef HAS_MESSAGE_WINDOW
+ if (in_echowindow)
+ return; // messages go into a popup
+#endif
if (msg_use_printf())
{
if (full_screen) // only when termcap codes are valid