patch 8.0.1035: sending buffer lines to terminal doesn't work on MS-Windows
Problem: Sending buffer lines to terminal doesn't work on MS-Windows.
Solution: Use CR instead of NL after every line. Make the EOF text work
properly. Add the ++eof argument to :terminal.
diff --git a/runtime/doc/eval.txt b/runtime/doc/eval.txt
index b9f3c09..e8bf16e 100644
--- a/runtime/doc/eval.txt
+++ b/runtime/doc/eval.txt
@@ -8141,6 +8141,12 @@
have "%d" where the buffer number goes,
e.g. "10split|buffer %d"; when not
specified "botright sbuf %d" is used
+ "eof_chars" Text to send after all buffer lines were
+ written to the terminal. When not set
+ CTRL-D is used. For Python use CTRL-Z or
+ "exit()". For a shell use "exit". A CR
+ is always added.
+ {only on MS-Windows}
{only available when compiled with the |+terminal| feature}