diff options
author | Bram Moolenaar <Bram@vim.org> | 2017-09-02 14:54:21 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2017-09-02 14:54:21 +0200 |
commit | 3346cc4ffb459ecddb97a8c19bcc5834afa4dead (patch) | |
tree | 0c911bd400c68687eafebf5d7be41df5cf67afe3 /src/structs.h | |
parent | 995e4afcfe60aa3c214ba680e7b027a4e05cf62b (diff) | |
download | vim-git-3346cc4ffb459ecddb97a8c19bcc5834afa4dead.tar.gz |
patch 8.0.1034: sending buffer lines to terminal doesn't work on MS-Windowsv8.0.1034
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.
Diffstat (limited to 'src/structs.h')
-rw-r--r-- | src/structs.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/structs.h b/src/structs.h index 4030f6d51..20b7ef805 100644 --- 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; |