mirror of
https://github.com/neovim/neovim.git
synced 2026-03-18 14:48:13 +00:00
This avoids having a dummy event to tickle the main loop. Confirmed using `nvim -u NONE -c 'au FocusGained * q'` in tmux (with `:set -g focus-events on`): without the flushing it would only exit after pressing a key. Moves the flushing done recently in3626d2107. `nvim -u NONE -cq` is still working (i.e. consuming the response for the terminal background query itself), and the flickering mentioned in3626d2107is reduced again. Reverts part ofbfb21f3e0(#7729).