diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2016-10-03 10:46:11 +0200 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2016-12-09 18:51:17 +0100 |
commit | 043f85210a06168e36f103950897e00918504f6f (patch) | |
tree | 0559ca04b5a34bb6af6934bca9d3efedeb6ef734 /src/nvim/ui.c | |
parent | 5082af415f762e5f5974214e32deff883141bfc2 (diff) | |
download | rneovim-043f85210a06168e36f103950897e00918504f6f.tar.gz rneovim-043f85210a06168e36f103950897e00918504f6f.tar.bz2 rneovim-043f85210a06168e36f103950897e00918504f6f.zip |
tui: "backpressure": Drop messages to avoid flooding.
Closes #1234
multiqueue:
- Implement multiqueue_size()
- Rename MultiQueueItem.parent to MultiQueueItem.parent_item, to avoid confusion
with MultiQueue.parent.
Diffstat (limited to 'src/nvim/ui.c')
-rw-r--r-- | src/nvim/ui.c | 7 |
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 } |