# HG changeset patch # User Christian Brabandt # Date 1500142503 -7200 # Node ID 26265ac3b7edf886d326a0d3d1e75e44f0b82e31 # Parent 88d6ae605f3fa61c8e3315570d83b693a439c623 patch 8.0.0717: terminal feature precence unclear commit https://github.com/vim/vim/commit/26e8558e74fc1701b57f092cc2c3dbf879cf1af3 Author: Bram Moolenaar Date: Sat Jul 15 20:05:54 2017 +0200 patch 8.0.0717: terminal feature precence unclear Problem: Terminal feature not included in :version output. Solution: Add +terminal or -terminal. diff --git a/src/terminal.c b/src/terminal.c --- a/src/terminal.c +++ b/src/terminal.c @@ -24,7 +24,6 @@ * This will result in screen updates. * * TODO: - * - +terminal in features[] in version.c * - free b_term when closing terminal. * - remove term from first_term list when closing terminal. * - set buffer options to be scratch, hidden, nomodifiable, etc. diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -618,6 +618,11 @@ static char *(features[]) = #else "-termguicolors", #endif +#ifdef FEAT_TERMINAL + "+terminal", +#else + "-terminal", +#endif #if defined(UNIX) /* only Unix can have terminfo instead of termcap */ # ifdef TERMINFO @@ -765,6 +770,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 717, +/**/ 716, /**/ 715,