comparison src/structs.h @ 19797:d73d982499ae v8.2.0455

patch 8.2.0455: cannot set the highlight group for a specific terminal Commit: https://github.com/vim/vim/commit/83d4790a04780328c9c7ad22d18f404a27c11601 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Mar 26 20:34:00 2020 +0100 patch 8.2.0455: cannot set the highlight group for a specific terminal Problem: Cannot set the highlight group for a specific terminal. Solution: Add the "highlight" option to term_start(). (closes https://github.com/vim/vim/issues/5818)
author Bram Moolenaar <Bram@vim.org>
date Thu, 26 Mar 2020 20:45:03 +0100
parents ad37a198a708
children bd4f91762d0f
comparison
equal deleted inserted replaced
19796:dd865be96964 19797:d73d982499ae
2069 #define JO2_TERM_KILL 0x4000 // "term_kill" 2069 #define JO2_TERM_KILL 0x4000 // "term_kill"
2070 #define JO2_ANSI_COLORS 0x8000 // "ansi_colors" 2070 #define JO2_ANSI_COLORS 0x8000 // "ansi_colors"
2071 #define JO2_TTY_TYPE 0x10000 // "tty_type" 2071 #define JO2_TTY_TYPE 0x10000 // "tty_type"
2072 #define JO2_BUFNR 0x20000 // "bufnr" 2072 #define JO2_BUFNR 0x20000 // "bufnr"
2073 #define JO2_TERM_API 0x40000 // "term_api" 2073 #define JO2_TERM_API 0x40000 // "term_api"
2074 #define JO2_TERM_HIGHLIGHT 0x80000 // "highlight"
2074 2075
2075 #define JO_MODE_ALL (JO_MODE + JO_IN_MODE + JO_OUT_MODE + JO_ERR_MODE) 2076 #define JO_MODE_ALL (JO_MODE + JO_IN_MODE + JO_OUT_MODE + JO_ERR_MODE)
2076 #define JO_CB_ALL \ 2077 #define JO_CB_ALL \
2077 (JO_CALLBACK + JO_OUT_CALLBACK + JO_ERR_CALLBACK + JO_CLOSE_CALLBACK) 2078 (JO_CALLBACK + JO_OUT_CALLBACK + JO_ERR_CALLBACK + JO_CLOSE_CALLBACK)
2078 #define JO_TIMEOUT_ALL (JO_TIMEOUT + JO_OUT_TIMEOUT + JO_ERR_TIMEOUT) 2079 #define JO_TIMEOUT_ALL (JO_TIMEOUT + JO_OUT_TIMEOUT + JO_ERR_TIMEOUT)
2141 char_u jo_term_kill_buf[NUMBUFLEN]; 2142 char_u jo_term_kill_buf[NUMBUFLEN];
2142 char_u *jo_term_kill; 2143 char_u *jo_term_kill;
2143 # if defined(FEAT_GUI) || defined(FEAT_TERMGUICOLORS) 2144 # if defined(FEAT_GUI) || defined(FEAT_TERMGUICOLORS)
2144 long_u jo_ansi_colors[16]; 2145 long_u jo_ansi_colors[16];
2145 # endif 2146 # endif
2147 char_u jo_term_highlight_buf[NUMBUFLEN];
2148 char_u *jo_term_highlight;
2146 int jo_tty_type; // first character of "tty_type" 2149 int jo_tty_type; // first character of "tty_type"
2147 char_u jo_term_api_buf[NUMBUFLEN]; 2150 char_u jo_term_api_buf[NUMBUFLEN];
2148 char_u *jo_term_api; 2151 char_u *jo_term_api;
2149 #endif 2152 #endif
2150 } jobopt_T; 2153 } jobopt_T;