comparison src/structs.h @ 13626:ab89131d30e0 v8.0.1685

patch 8.0.1685: can't set ANSI colors of a terminal window commit https://github.com/vim/vim/commit/f59c6e8cee092433d325ba21a107654a8d84f776 Author: Bram Moolenaar <Bram@vim.org> Date: Tue Apr 10 15:59:11 2018 +0200 patch 8.0.1685: can't set ANSI colors of a terminal window Problem: Can't set ANSI colors of a terminal window. Solution: Add term_setansicolors(), term_getansicolors() and g:term_ansi_colors. (Andy Massimino, closes #2747)
author Christian Brabandt <cb@256bit.org>
date Tue, 10 Apr 2018 16:00:09 +0200
parents 33eea5ce5415
children c3bf339a9d2d
comparison
equal deleted inserted replaced
13625:2caac884de74 13626:ab89131d30e0
1706 #define JO2_HIDDEN 0x0400 /* "hidden" */ 1706 #define JO2_HIDDEN 0x0400 /* "hidden" */
1707 #define JO2_TERM_OPENCMD 0x0800 /* "term_opencmd" */ 1707 #define JO2_TERM_OPENCMD 0x0800 /* "term_opencmd" */
1708 #define JO2_EOF_CHARS 0x1000 /* "eof_chars" */ 1708 #define JO2_EOF_CHARS 0x1000 /* "eof_chars" */
1709 #define JO2_NORESTORE 0x2000 /* "norestore" */ 1709 #define JO2_NORESTORE 0x2000 /* "norestore" */
1710 #define JO2_TERM_KILL 0x4000 /* "term_kill" */ 1710 #define JO2_TERM_KILL 0x4000 /* "term_kill" */
1711 #define JO2_ALL 0x7FFF 1711 #define JO2_ANSI_COLORS 0x8000 /* "ansi_colors" */
1712 1712
1713 #define JO_MODE_ALL (JO_MODE + JO_IN_MODE + JO_OUT_MODE + JO_ERR_MODE) 1713 #define JO_MODE_ALL (JO_MODE + JO_IN_MODE + JO_OUT_MODE + JO_ERR_MODE)
1714 #define JO_CB_ALL \ 1714 #define JO_CB_ALL \
1715 (JO_CALLBACK + JO_OUT_CALLBACK + JO_ERR_CALLBACK + JO_CLOSE_CALLBACK) 1715 (JO_CALLBACK + JO_OUT_CALLBACK + JO_ERR_CALLBACK + JO_CLOSE_CALLBACK)
1716 #define JO_TIMEOUT_ALL (JO_TIMEOUT + JO_OUT_TIMEOUT + JO_ERR_TIMEOUT) 1716 #define JO_TIMEOUT_ALL (JO_TIMEOUT + JO_OUT_TIMEOUT + JO_ERR_TIMEOUT)
1775 char_u *jo_term_name; 1775 char_u *jo_term_name;
1776 char_u *jo_term_opencmd; 1776 char_u *jo_term_opencmd;
1777 int jo_term_finish; 1777 int jo_term_finish;
1778 char_u *jo_eof_chars; 1778 char_u *jo_eof_chars;
1779 char_u *jo_term_kill; 1779 char_u *jo_term_kill;
1780 # if defined(FEAT_GUI) || defined(FEAT_TERMGUICOLORS)
1781 long_u jo_ansi_colors[16];
1782 # endif
1780 #endif 1783 #endif
1781 } jobopt_T; 1784 } jobopt_T;
1782 1785
1783 1786
1784 /* structure used for explicit stack while garbage collecting hash tables */ 1787 /* structure used for explicit stack while garbage collecting hash tables */