diff options
Diffstat (limited to 'src/structs.h')
-rw-r--r-- | src/structs.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/structs.h b/src/structs.h index 7bd1ff775d..9e0f64e623 100644 --- a/src/structs.h +++ b/src/structs.h @@ -123,6 +123,14 @@ typedef struct { #endif #define COLOR_INVALID(x) ((x) == INVALCOLOR || (x) == CTERMCOLOR) +#ifdef FEAT_TERMINAL +# include "libvterm/include/vterm.h" +typedef struct { + VTermColor fg; + VTermColor bg; +} termcellcolor_T; +#endif + /* * marks: positions in a file * (a normal mark is a lnum/col pair, the same as a file position) @@ -3619,6 +3627,9 @@ struct window_S int w_nrwidth; // width of 'number' and 'relativenumber' // column being used #endif +#ifdef FEAT_TERMINAL + termcellcolor_T w_term_wincolor; // cache for term color of 'wincolor' +#endif /* * === end of cached values === |