aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/version.c
diff options
context:
space:
mode:
authorRui Abreu Ferreira <raf-ep@gmx.com>2016-05-23 22:16:39 +0100
committerRui Abreu Ferreira <raf-ep@gmx.com>2016-05-27 23:43:40 +0100
commit46aac2a09af7c2feedd254b48fbbe4726c7d73d3 (patch)
treeaeea79a4f6b0e903f99f979645bbb6f7a0c629af /src/nvim/version.c
parent1d63672c77a7a6307a8c99bd8cea59af3f94286a (diff)
downloadrneovim-46aac2a09af7c2feedd254b48fbbe4726c7d73d3.tar.gz
rneovim-46aac2a09af7c2feedd254b48fbbe4726c7d73d3.tar.bz2
rneovim-46aac2a09af7c2feedd254b48fbbe4726c7d73d3.zip
Windows: Don't build the TUI is systems where it is not supported
The TUI can be enabled/disabled at build time with -DFEAT_TUI, default is ON for UNIX, and OFF for non UNIX. When off, Neovim prints a message to stderr, along with a list of the server endpoints.
Diffstat (limited to 'src/nvim/version.c')
-rw-r--r--src/nvim/version.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/nvim/version.c b/src/nvim/version.c
index e66bf44846..c491021328 100644
--- a/src/nvim/version.c
+++ b/src/nvim/version.c
@@ -64,6 +64,12 @@ static char *features[] = {
#else
"-jemalloc",
#endif
+
+#ifdef FEAT_TUI
+ "+tui",
+#else
+ "-tui",
+#endif
NULL
};