mirror of
https://github.com/neovim/neovim.git
synced 2025-09-18 01:08:20 +00:00
ui: Fix redraw bug caused by race conditions with remote clients
Before sending a resize command to the UIs, flush the current output buffer to ensure no redraw commands for a screen with invalid size are processed.
This commit is contained in:
@@ -173,7 +173,7 @@ void ui_refresh(void)
|
||||
return;
|
||||
}
|
||||
|
||||
width = height = INT_MAX;
|
||||
int width = INT_MAX, height = INT_MAX;
|
||||
|
||||
for (size_t i = 0; i < ui_count; i++) {
|
||||
UI *ui = uis[i];
|
||||
|
Reference in New Issue
Block a user