mirror of
https://github.com/vim/vim.git
synced 2025-07-25 10:54:51 -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:
parent
c4da113ef9
commit
26e8558e74
@ -24,7 +24,6 @@
|
|||||||
* This will result in screen updates.
|
* This will result in screen updates.
|
||||||
*
|
*
|
||||||
* TODO:
|
* TODO:
|
||||||
* - +terminal in features[] in version.c
|
|
||||||
* - free b_term when closing terminal.
|
* - free b_term when closing terminal.
|
||||||
* - remove term from first_term list when closing terminal.
|
* - remove term from first_term list when closing terminal.
|
||||||
* - set buffer options to be scratch, hidden, nomodifiable, etc.
|
* - set buffer options to be scratch, hidden, nomodifiable, etc.
|
||||||
|
@ -618,6 +618,11 @@ static char *(features[]) =
|
|||||||
#else
|
#else
|
||||||
"-termguicolors",
|
"-termguicolors",
|
||||||
#endif
|
#endif
|
||||||
|
#ifdef FEAT_TERMINAL
|
||||||
|
"+terminal",
|
||||||
|
#else
|
||||||
|
"-terminal",
|
||||||
|
#endif
|
||||||
#if defined(UNIX)
|
#if defined(UNIX)
|
||||||
/* only Unix can have terminfo instead of termcap */
|
/* only Unix can have terminfo instead of termcap */
|
||||||
# ifdef TERMINFO
|
# ifdef TERMINFO
|
||||||
@ -764,6 +769,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
717,
|
||||||
/**/
|
/**/
|
||||||
716,
|
716,
|
||||||
/**/
|
/**/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user