aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/os_unix.c
diff options
context:
space:
mode:
authorBjörn Linse <bjorn.linse@gmail.com>2018-09-09 16:42:53 +0200
committerBjörn Linse <bjorn.linse@gmail.com>2018-09-09 16:42:53 +0200
commit088ae23e4e41c66f9075fda736fd0aa3fc3c63ef (patch)
tree5e4b0fb6f225aae58a294c87328322ac0a4a9083 /src/nvim/os_unix.c
parentc5790d91897c094d5f154584c81648c2731f4ff2 (diff)
downloadrneovim-088ae23e4e41c66f9075fda736fd0aa3fc3c63ef.tar.gz
rneovim-088ae23e4e41c66f9075fda736fd0aa3fc3c63ef.tar.bz2
rneovim-088ae23e4e41c66f9075fda736fd0aa3fc3c63ef.zip
ui: flush UI state on exit
Diffstat (limited to 'src/nvim/os_unix.c')
-rw-r--r--src/nvim/os_unix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/os_unix.c b/src/nvim/os_unix.c
index a27fee4e90..e52adfa1a9 100644
--- a/src/nvim/os_unix.c
+++ b/src/nvim/os_unix.c
@@ -138,8 +138,8 @@ void mch_exit(int r)
{
exiting = true;
- ui_builtin_stop();
ui_flush();
+ ui_builtin_stop();
ml_close_all(true); // remove all memfiles
if (!event_teardown() && r == 0) {