summaryrefslogtreecommitdiff
path: root/src/structs.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-01-30 16:27:20 +0100
committerBram Moolenaar <Bram@vim.org>2020-01-30 16:27:20 +0100
commit21109272f5b0d32c408dc292561c0b1f2f8ebc53 (patch)
tree40959604cbf5e45989ba592ceb28c1fc11a9784c /src/structs.h
parent0c3064b39b4cd4f22fe1eab5438fe691d7cc80d1 (diff)
downloadvim-git-21109272f5b0d32c408dc292561c0b1f2f8ebc53.tar.gz
patch 8.2.0181: problems parsing :term argumentsv8.2.0181
Problem: Problems parsing :term arguments. Solution: Improve parsing, fix memory leak, add tests. (Ozaki Kiichi, closes #5536)
Diffstat (limited to 'src/structs.h')
-rw-r--r--src/structs.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/structs.h b/src/structs.h
index 762cd867c..bb3e72f63 100644
--- a/src/structs.h
+++ b/src/structs.h
@@ -2106,7 +2106,7 @@ typedef struct
int jo_block_write; // for testing only
int jo_part;
int jo_id;
- char_u jo_soe_buf[NUMBUFLEN];
+ char_u jo_stoponexit_buf[NUMBUFLEN];
char_u *jo_stoponexit;
dict_T *jo_env; // environment variables
char_u jo_cwd_buf[NUMBUFLEN];
@@ -2121,17 +2121,21 @@ typedef struct
buf_T *jo_bufnr_buf;
int jo_hidden;
int jo_term_norestore;
+ char_u jo_term_name_buf[NUMBUFLEN];
char_u *jo_term_name;
+ char_u jo_term_opencmd_buf[NUMBUFLEN];
char_u *jo_term_opencmd;
int jo_term_finish;
+ char_u jo_eof_chars_buf[NUMBUFLEN];
char_u *jo_eof_chars;
+ char_u jo_term_kill_buf[NUMBUFLEN];
char_u *jo_term_kill;
# if defined(FEAT_GUI) || defined(FEAT_TERMGUICOLORS)
long_u jo_ansi_colors[16];
# endif
int jo_tty_type; // first character of "tty_type"
- char_u *jo_term_api;
char_u jo_term_api_buf[NUMBUFLEN];
+ char_u *jo_term_api;
#endif
} jobopt_T;