ui: Fix TUI resize bug

statusline still disappears in some cases, but this change is a net
improvement.

References #3929 #5692 #4884 #6157
This commit is contained in:
Tommy Allen 2017-03-05 12:04:33 -05:00 committed by Justin M. Keyes
parent a568816253
commit 6777b6ecbc

View File

@ -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;