aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/os_unix.c
diff options
context:
space:
mode:
authorBjörn Linse <bjorn.linse@gmail.com>2018-09-10 18:58:06 +0200
committerGitHub <noreply@github.com>2018-09-10 18:58:06 +0200
commitd4e6a75a0684e5cc827d0d905a67b4d0aa10b57e (patch)
tree6acd3741b39acd101ab36d845d302c28fbed9dae /src/nvim/os_unix.c
parent207cfce3dea64eca3b93735adfac0a75cc6c1a4a (diff)
parent088ae23e4e41c66f9075fda736fd0aa3fc3c63ef (diff)
downloadrneovim-d4e6a75a0684e5cc827d0d905a67b4d0aa10b57e.tar.gz
rneovim-d4e6a75a0684e5cc827d0d905a67b4d0aa10b57e.tar.bz2
rneovim-d4e6a75a0684e5cc827d0d905a67b4d0aa10b57e.zip
Merge pull request #8971 from bfredl/flush_on_exit
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) {