Mercurial > vim
diff src/structs.h @ 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 | e1f44e4afe67 |
children | 44f3c9b7eec4 |
line wrap: on
line diff
--- 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 */