diff options
author | Bram Moolenaar <Bram@vim.org> | 2018-02-22 21:07:09 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2018-02-22 21:07:09 +0100 |
commit | cafafb381a04e33f3ce9cd15dd9f94b73226831f (patch) | |
tree | 39c0444924dc20b2715e102a8e8ea34a11684ab6 /src/evalfunc.c | |
parent | 19eb6658eced1b1ce3d1097187ee28c28e352f2e (diff) |
patch 8.0.1531: cannot use 24 bit colors in MS-Windows consolev8.0.1531
Problem: Cannot use 24 bit colors in MS-Windows console.
Solution: Add support for vcon. (Nobuhiro Takasaki, Ken Takasaki,
fixes #1270, fixes #2060)
Diffstat (limited to 'src/evalfunc.c')
-rw-r--r-- | src/evalfunc.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/evalfunc.c b/src/evalfunc.c index 1fad78a189..5b684bd946 100644 --- a/src/evalfunc.c +++ b/src/evalfunc.c @@ -851,7 +851,7 @@ static struct fst #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 @@ f_has(typval_T *argvars, typval_T *rettv) 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) |