patch 8.2.3653: terminal ANSI colors may be wrong
Problem: Terminal ANSI colors may be wrong.
Solution: Initialize the color type. (closes #9198, closes #9197)
diff --git a/src/terminal.c b/src/terminal.c
index f6c283b..df1ca69 100644
--- a/src/terminal.c
+++ b/src/terminal.c
@@ -4130,6 +4130,7 @@
{
VTermColor color;
+ color.type = VTERM_COLOR_RGB;
color.red = (unsigned)(rgb[index] >> 16);
color.green = (unsigned)(rgb[index] >> 8) & 255;
color.blue = (unsigned)rgb[index] & 255;
diff --git a/src/version.c b/src/version.c
index 0644ba2..8566cc3 100644
--- a/src/version.c
+++ b/src/version.c
@@ -758,6 +758,8 @@
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 3653,
+/**/
3652,
/**/
3651,