summaryrefslogtreecommitdiff
path: root/src/structs.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2017-09-02 16:28:36 +0200
committerBram Moolenaar <Bram@vim.org>2017-09-02 16:28:36 +0200
commitef68e4fa528165f8dd63156feeffc1af629b8d8a (patch)
tree14d8384050c19d4279c316b3fcd43e82ba942734 /src/structs.h
parent3346cc4ffb459ecddb97a8c19bcc5834afa4dead (diff)
downloadvim-git-ef68e4fa528165f8dd63156feeffc1af629b8d8a.tar.gz
patch 8.0.1035: sending buffer lines to terminal doesn't work on MS-Windowsv8.0.1035
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.
Diffstat (limited to 'src/structs.h')
-rw-r--r--src/structs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/structs.h b/src/structs.h
index 20b7ef805..6cfb5f2f1 100644
--- a/src/structs.h
+++ b/src/structs.h
@@ -1632,6 +1632,7 @@ struct channel_S {
int ch_last_msg_id; /* ID of the last message */
chanpart_T ch_part[PART_COUNT]; /* info for socket, out, err and in */
+ int ch_write_text_mode; /* write buffer lines with CR, not NL */
char *ch_hostname; /* only for socket, allocated */
int ch_port; /* only for socket */