From 46aac2a09af7c2feedd254b48fbbe4726c7d73d3 Mon Sep 17 00:00:00 2001 From: Rui Abreu Ferreira Date: Mon, 23 May 2016 22:16:39 +0100 Subject: 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. --- src/nvim/version.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/nvim/version.c') 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 }; -- cgit