From 6777b6ecbc7e70d1002e8c0ce149924259613df2 Mon Sep 17 00:00:00 2001 From: Tommy Allen Date: Sun, 5 Mar 2017 12:04:33 -0500 Subject: ui: Fix TUI resize bug statusline still disappears in some cases, but this change is a net improvement. References #3929 #5692 #4884 #6157 --- src/nvim/ui.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/nvim/ui.c') diff --git a/src/nvim/ui.c b/src/nvim/ui.c index 8c72c28e56..ea42e3e357 100644 --- a/src/nvim/ui.c +++ b/src/nvim/ui.c @@ -161,6 +161,11 @@ void ui_refresh(void) return; } + if (updating_screen) { + ui_schedule_refresh(); + return; + } + int width = INT_MAX, height = INT_MAX; bool pum_external = true; -- cgit