forked from aniani/vim
patch 8.2.0181: problems parsing :term arguments
Problem: Problems parsing :term arguments. Solution: Improve parsing, fix memory leak, add tests. (Ozaki Kiichi, closes #5536)
This commit is contained in:
@@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user