patch 8.2.2638: cannot write a message to the terminal from the GUI
Problem: Cannot write a message to the terminal from the GUI.
Solution: Add :echoconsole and use it in the test runner. (issue #7975)
diff --git a/src/term.c b/src/term.c
index d2ada6c..8ce577e 100644
--- a/src/term.c
+++ b/src/term.c
@@ -2545,7 +2545,7 @@
// set out_pos to 0 before ui_write, to avoid recursiveness
len = out_pos;
out_pos = 0;
- ui_write(out_buf, len);
+ ui_write(out_buf, len, FALSE);
#ifdef FEAT_JOB_CHANNEL
if (ch_log_output)
{