From 26e8558e74fc1701b57f092cc2c3dbf879cf1af3 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Sat, 15 Jul 2017 20:05:54 +0200 Subject: [PATCH] patch 8.0.0717: terminal feature precence unclear Problem: Terminal feature not included in :version output. Solution: Add +terminal or -terminal. --- src/terminal.c | 1 - src/version.c | 7 +++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/src/terminal.c b/src/terminal.c index b653cc24f..b7765cd5e 100644 --- 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 index 09b3b8560..7f4be7e73 100644 --- 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 @@ -764,6 +769,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 717, /**/ 716, /**/ -- 2.50.1