aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/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/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/ui.c')
-rw-r--r--src/nvim/ui.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nvim/ui.c b/src/nvim/ui.c
index cb2f397dbb..3e5639d23e 100644
--- a/src/nvim/ui.c
+++ b/src/nvim/ui.c
@@ -119,6 +119,7 @@ void ui_suspend(void)
{
if (abstract_ui) {
UI_CALL(suspend);
+ UI_CALL(flush);
} else {
mch_suspend();
}