diff runtime/doc/eval.txt @ 12311:66fa8eabbd6e v8.0.1035

patch 8.0.1035: sending buffer lines to terminal doesn't work on MS-Windows commit https://github.com/vim/vim/commit/ef68e4fa528165f8dd63156feeffc1af629b8d8a Author: Bram Moolenaar <Bram@vim.org> Date: Sat Sep 2 16:28:36 2017 +0200 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.
author Christian Brabandt <cb@256bit.org>
date Sat, 02 Sep 2017 16:30:04 +0200
parents ec7a4fd21dd5
children 2a8890b80923
line wrap: on
line diff
--- a/runtime/doc/eval.txt
+++ b/runtime/doc/eval.txt
@@ -8141,6 +8141,12 @@ term_start({cmd}, {options})				*term_st
 				     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}