patch 8.0.1531: cannot use 24 bit colors in MS-Windows console
Problem: Cannot use 24 bit colors in MS-Windows console.
Solution: Add support for vcon. (Nobuhiro Takasaki, Ken Takasaki,
fixes #1270, fixes #2060)
diff --git a/src/evalfunc.c b/src/evalfunc.c
index 1fad78a..5b684bd 100644
--- a/src/evalfunc.c
+++ b/src/evalfunc.c
@@ -851,7 +851,7 @@
#ifdef FEAT_TERMINAL
{"term_dumpdiff", 2, 3, f_term_dumpdiff},
{"term_dumpload", 1, 2, f_term_dumpload},
- {"term_dumpwrite", 2, 4, f_term_dumpwrite},
+ {"term_dumpwrite", 2, 3, f_term_dumpwrite},
{"term_getaltscreen", 1, 1, f_term_getaltscreen},
{"term_getattr", 2, 2, f_term_getattr},
{"term_getcursor", 1, 1, f_term_getcursor},
@@ -6323,9 +6323,9 @@
else if (STRICMP(name, "syntax_items") == 0)
n = syntax_present(curwin);
#endif
-#if defined(WIN3264)
- else if (STRICMP(name, "win95") == 0)
- n = FALSE; /* Win9x is no more supported. */
+#ifdef FEAT_VTP
+ else if (STRICMP(name, "vcon") == 0)
+ n = has_vtp_working();
#endif
#ifdef FEAT_NETBEANS_INTG
else if (STRICMP(name, "netbeans_enabled") == 0)