aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/ui.c
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2016-12-10 02:18:15 +0100
committerGitHub <noreply@github.com>2016-12-10 02:18:15 +0100
commit7c513d646d87eb3e4ed4917d5a3a7b9163371fae (patch)
treebadf3d0cad34dc28ecd1d87b9f7b38843677021d /src/nvim/ui.c
parent5082af415f762e5f5974214e32deff883141bfc2 (diff)
parent4abe9afbf67cec620fde9e47cb3df92f60e1cca9 (diff)
downloadrneovim-7c513d646d87eb3e4ed4917d5a3a7b9163371fae.tar.gz
rneovim-7c513d646d87eb3e4ed4917d5a3a7b9163371fae.tar.bz2
rneovim-7c513d646d87eb3e4ed4917d5a3a7b9163371fae.zip
Merge #5396 from justinmk/tui-throttle
throttle shell output to maintain responsiveness
Diffstat (limited to 'src/nvim/ui.c')
-rw-r--r--src/nvim/ui.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/nvim/ui.c b/src/nvim/ui.c
index ea0bccb1cd..d3784b6cd3 100644
--- a/src/nvim/ui.c
+++ b/src/nvim/ui.c
@@ -88,18 +88,17 @@ void ui_builtin_start(void)
#ifdef FEAT_TUI
tui_start();
#else
- fprintf(stderr, "Neovim was built without a Terminal UI," \
- "press Ctrl+C to exit\n");
-
+ fprintf(stderr, "Nvim headless-mode started.\n");
size_t len;
char **addrs = server_address_list(&len);
if (addrs != NULL) {
- fprintf(stderr, "currently listening on the following address(es)\n");
+ fprintf(stderr, "Listening on:\n");
for (size_t i = 0; i < len; i++) {
fprintf(stderr, "\t%s\n", addrs[i]);
}
xfree(addrs);
}
+ fprintf(stderr, "Press CTRL+C to exit.\n");
#endif
}