aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/ex_docmd.c
diff options
context:
space:
mode:
authorBjörn Linse <bjorn.linse@gmail.com>2017-05-10 17:39:09 +0200
committerGitHub <noreply@github.com>2017-05-10 17:39:09 +0200
commit031756c5e6a3dc2b9e811086a2531a41e4f58a19 (patch)
tree294effe35254d53766dfe2358415f26e8dd61cb9 /src/nvim/ex_docmd.c
parentd9023b84e63f51611cf55f72ca5e021d64ba7ce9 (diff)
parent2d5920ae1ada751811e04bcc8d3a8fe4f890617a (diff)
downloadrneovim-031756c5e6a3dc2b9e811086a2531a41e4f58a19.tar.gz
rneovim-031756c5e6a3dc2b9e811086a2531a41e4f58a19.tar.bz2
rneovim-031756c5e6a3dc2b9e811086a2531a41e4f58a19.zip
Merge pull request #6618 from bfredl/ui_event
generate UI remote event wrappers and add them to metadata
Diffstat (limited to 'src/nvim/ex_docmd.c')
-rw-r--r--src/nvim/ex_docmd.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/nvim/ex_docmd.c b/src/nvim/ex_docmd.c
index cb02befeaf..a0406cf418 100644
--- a/src/nvim/ex_docmd.c
+++ b/src/nvim/ex_docmd.c
@@ -6285,13 +6285,14 @@ static void ex_stop(exarg_T *eap)
autowrite_all();
}
ui_cursor_goto((int)Rows - 1, 0);
- ui_putc('\n');
+ ui_linefeed();
+ ui_flush();
+ ui_call_suspend(); // call machine specific function
ui_flush();
- ui_suspend(); /* call machine specific function */
maketitle();
- resettitle(); /* force updating the title */
+ resettitle(); // force updating the title
redraw_later_clear();
- ui_refresh(); /* may have resized window */
+ ui_refresh(); // may have resized window
}
}