Mercurial > vim
comparison src/structs.h @ 19245:5ed8297121fa v8.2.0181
patch 8.2.0181: problems parsing :term arguments
Commit: https://github.com/vim/vim/commit/21109272f5b0d32c408dc292561c0b1f2f8ebc53
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Jan 30 16:27:20 2020 +0100
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)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 30 Jan 2020 16:30:04 +0100 |
parents | d776967d0f0d |
children | e99e6d794597 |
comparison
equal
deleted
inserted
replaced
19244:bb09b0f937ad | 19245:5ed8297121fa |
---|---|
2104 int jo_out_timeout; | 2104 int jo_out_timeout; |
2105 int jo_err_timeout; | 2105 int jo_err_timeout; |
2106 int jo_block_write; // for testing only | 2106 int jo_block_write; // for testing only |
2107 int jo_part; | 2107 int jo_part; |
2108 int jo_id; | 2108 int jo_id; |
2109 char_u jo_soe_buf[NUMBUFLEN]; | 2109 char_u jo_stoponexit_buf[NUMBUFLEN]; |
2110 char_u *jo_stoponexit; | 2110 char_u *jo_stoponexit; |
2111 dict_T *jo_env; // environment variables | 2111 dict_T *jo_env; // environment variables |
2112 char_u jo_cwd_buf[NUMBUFLEN]; | 2112 char_u jo_cwd_buf[NUMBUFLEN]; |
2113 char_u *jo_cwd; | 2113 char_u *jo_cwd; |
2114 | 2114 |
2119 int jo_vertical; | 2119 int jo_vertical; |
2120 int jo_curwin; | 2120 int jo_curwin; |
2121 buf_T *jo_bufnr_buf; | 2121 buf_T *jo_bufnr_buf; |
2122 int jo_hidden; | 2122 int jo_hidden; |
2123 int jo_term_norestore; | 2123 int jo_term_norestore; |
2124 char_u jo_term_name_buf[NUMBUFLEN]; | |
2124 char_u *jo_term_name; | 2125 char_u *jo_term_name; |
2126 char_u jo_term_opencmd_buf[NUMBUFLEN]; | |
2125 char_u *jo_term_opencmd; | 2127 char_u *jo_term_opencmd; |
2126 int jo_term_finish; | 2128 int jo_term_finish; |
2129 char_u jo_eof_chars_buf[NUMBUFLEN]; | |
2127 char_u *jo_eof_chars; | 2130 char_u *jo_eof_chars; |
2131 char_u jo_term_kill_buf[NUMBUFLEN]; | |
2128 char_u *jo_term_kill; | 2132 char_u *jo_term_kill; |
2129 # if defined(FEAT_GUI) || defined(FEAT_TERMGUICOLORS) | 2133 # if defined(FEAT_GUI) || defined(FEAT_TERMGUICOLORS) |
2130 long_u jo_ansi_colors[16]; | 2134 long_u jo_ansi_colors[16]; |
2131 # endif | 2135 # endif |
2132 int jo_tty_type; // first character of "tty_type" | 2136 int jo_tty_type; // first character of "tty_type" |
2137 char_u jo_term_api_buf[NUMBUFLEN]; | |
2133 char_u *jo_term_api; | 2138 char_u *jo_term_api; |
2134 char_u jo_term_api_buf[NUMBUFLEN]; | |
2135 #endif | 2139 #endif |
2136 } jobopt_T; | 2140 } jobopt_T; |
2137 | 2141 |
2138 #ifdef FEAT_EVAL | 2142 #ifdef FEAT_EVAL |
2139 /* | 2143 /* |