aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/msgpack_rpc/remote_ui.c
diff options
context:
space:
mode:
authorThiago de Arruda <tpadilha84@gmail.com>2015-01-09 09:51:11 -0300
committerThiago de Arruda <tpadilha84@gmail.com>2015-01-13 21:21:06 -0300
commit2db40492749ca7c20b42368a04729765e44eeda7 (patch)
tree086077535f6c6af515fc67f52caa8e2f430bfbab /src/nvim/msgpack_rpc/remote_ui.c
parenta282d06a678f2236e29d1dadb2a3f35f76c5ea3d (diff)
downloadrneovim-2db40492749ca7c20b42368a04729765e44eeda7.tar.gz
rneovim-2db40492749ca7c20b42368a04729765e44eeda7.tar.bz2
rneovim-2db40492749ca7c20b42368a04729765e44eeda7.zip
ui: Fix `:suspend` command for remote UIs
Forward the command to the remote UI and flush immediately. The semantics/handling is UI-specific.
Diffstat (limited to 'src/nvim/msgpack_rpc/remote_ui.c')
-rw-r--r--src/nvim/msgpack_rpc/remote_ui.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/msgpack_rpc/remote_ui.c b/src/nvim/msgpack_rpc/remote_ui.c
index 6a638df61c..8350ae252b 100644
--- a/src/nvim/msgpack_rpc/remote_ui.c
+++ b/src/nvim/msgpack_rpc/remote_ui.c
@@ -322,6 +322,6 @@ static void remote_ui_flush(UI *ui)
static void remote_ui_suspend(UI *ui)
{
- UIData *data = ui->data;
- remote_ui_disconnect(data->channel_id);
+ Array args = ARRAY_DICT_INIT;
+ push_call(ui, "suspend", args);
}