Skip to content

Commit

Permalink
patch 8.1.0124: has('vcon') returns true even for non-win32 terminal
Browse files Browse the repository at this point in the history
Problem:    has('vcon') returns true even for non-win32 terminal.
Solution:   Check the terminal type. (Nobuhiro Takasaki, closes #3106)
  • Loading branch information
brammool committed Jun 28, 2018
1 parent b0eb14f commit d8b37a5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/evalfunc.c
Expand Up @@ -6609,7 +6609,7 @@ f_has(typval_T *argvars, typval_T *rettv)
#endif
#ifdef FEAT_VTP
else if (STRICMP(name, "vcon") == 0)
n = has_vtp_working();
n = is_term_win32() && has_vtp_working();
#endif
#ifdef FEAT_NETBEANS_INTG
else if (STRICMP(name, "netbeans_enabled") == 0)
Expand Down
2 changes: 2 additions & 0 deletions src/version.c
Expand Up @@ -789,6 +789,8 @@ static char *(features[]) =

static int included_patches[] =
{ /* Add new patch number below this line */
/**/
124,
/**/
123,
/**/
Expand Down

0 comments on commit d8b37a5

Please sign in to comment.