Problem: Missing symbol in Win32 small build.
Solution: Define VTERM_ANSI_INDEX_NONE without the terminal feature. Also
fix unused function with #ifdef.
vtp_printf((char *)buf);
}
+# ifdef FEAT_TERMGUICOLORS
static int
ctermtoxterm(
int cterm)
cterm_color2rgb(cterm, &r, &g, &b, &idx);
return (((int)r << 16) | ((int)g << 8) | (int)b);
}
+# endif
static void
set_console_color_rgb(void)
# ifdef FEAT_TERMINAL
# include "libvterm/include/vterm.h" // for VTERM_ANSI_INDEX_NONE
+# else
+# define VTERM_ANSI_INDEX_NONE 0
# endif
static uint8_t ansi_table[16][4] = {
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 1785,
/**/
1784,
/**/