Mercurial > vim
diff src/structs.h @ 12309:e1f44e4afe67 v8.0.1034
patch 8.0.1034: sending buffer lines to terminal doesn't work on MS-Windows
commit https://github.com/vim/vim/commit/3346cc4ffb459ecddb97a8c19bcc5834afa4dead
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Sep 2 14:54:21 2017 +0200
patch 8.0.1034: sending buffer lines to terminal doesn't work on MS-Windows
Problem: Sending buffer lines to terminal doesn't work on MS-Windows.
Solution: Send CTRL-D to mark the end of the text. (Yasuhiro Matsumoto,
closes #2043) Add the "eof_chars" option.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sat, 02 Sep 2017 15:00:04 +0200 |
parents | 24abce52ad20 |
children | 66fa8eabbd6e |
line wrap: on
line diff
--- a/src/structs.h +++ b/src/structs.h @@ -1713,7 +1713,8 @@ struct channel_S { #define JO2_CURWIN 0x0200 /* "curwin" */ #define JO2_HIDDEN 0x0400 /* "hidden" */ #define JO2_TERM_OPENCMD 0x0800 /* "term_opencmd" */ -#define JO2_ALL 0x0FFF +#define JO2_EOF_CHARS 0x1000 /* "eof_chars" */ +#define JO2_ALL 0x1FFF #define JO_MODE_ALL (JO_MODE + JO_IN_MODE + JO_OUT_MODE + JO_ERR_MODE) #define JO_CB_ALL \ @@ -1779,6 +1780,9 @@ typedef struct char_u *jo_term_name; char_u *jo_term_opencmd; int jo_term_finish; +# ifdef WIN3264 + char_u *jo_eof_chars; +# endif #endif } jobopt_T;