]> granicus.if.org Git - vim/commitdiff
patch 8.0.0717: terminal feature precence unclear v8.0.0717
authorBram Moolenaar <Bram@vim.org>
Sat, 15 Jul 2017 18:05:54 +0000 (20:05 +0200)
committerBram Moolenaar <Bram@vim.org>
Sat, 15 Jul 2017 18:05:54 +0000 (20:05 +0200)
Problem:    Terminal feature not included in :version output.
Solution:   Add +terminal or -terminal.

src/terminal.c
src/version.c

index b653cc24face6e0b4fa0d01d63a3e72a960b647d..b7765cd5e3b3ae1eef712949a135f31784978d95 100644 (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.
index 09b3b85605f02d65120aff37d1de0f9cdc694155..7f4be7e73033b57a2e2a92dd1539adf7d5382358 100644 (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,
 /**/