0
0
mirror of https://github.com/vim/vim.git synced 2025-07-24 10:45:12 -04:00

patch 8.0.0717: terminal feature precence unclear

Problem:    Terminal feature not included in :version output.
Solution:   Add +terminal or -terminal.
This commit is contained in:
Bram Moolenaar 2017-07-15 20:05:54 +02:00
parent c4da113ef9
commit 26e8558e74
2 changed files with 7 additions and 1 deletions

View File

@ -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 File

@ -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,
/**/