Permalink
Browse files

patch 8.0.0717: terminal feature precence unclear

Problem:    Terminal feature not included in :version output.
Solution:   Add +terminal or -terminal.
  • Loading branch information...
brammool committed Jul 15, 2017
1 parent c4da113 commit 26e8558e74fc1701b57f092cc2c3dbf879cf1af3
Showing with 7 additions and 1 deletion.
  1. +0 −1 src/terminal.c
  2. +7 −0 src/version.c
View
@@ -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.
View
@@ -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
@@ -764,6 +769,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
717,
/**/
716,
/**/

0 comments on commit 26e8558

Please sign in to comment.