mirror of
https://github.com/neovim/neovim.git
synced 2025-10-20 16:51:48 +00:00
fix(tui): don't process UI events when suspending or stopping (#33710)
When the TUI is suspending or stopping, redraw events should not be processed, as when it next processes redraw events it's already waiting for a DA1 response after having disabled some terminal modes. Fix #33708
This commit is contained in:
@@ -186,6 +186,7 @@ void ui_client_run(bool remote_ui)
|
||||
|
||||
void ui_client_stop(void)
|
||||
{
|
||||
ui_client_attached = false;
|
||||
if (!tui_is_stopped(tui)) {
|
||||
tui_stop(tui);
|
||||
}
|
||||
|
Reference in New Issue
Block a user