diff options
author | Daniel Hahler <git@thequod.de> | 2019-09-24 08:34:00 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-09-24 08:34:00 +0200 |
commit | 445f2f409676f6e788861af439ce0b823aab3f37 (patch) | |
tree | 2adc407b7bae7f215b17639e22a115fc6147edd4 /src/nvim/lua/executor.c | |
parent | 6d213593ed0af948d23e9d0e8c6d993577344b48 (diff) | |
download | rneovim-445f2f409676f6e788861af439ce0b823aab3f37.tar.gz rneovim-445f2f409676f6e788861af439ce0b823aab3f37.tar.bz2 rneovim-445f2f409676f6e788861af439ce0b823aab3f37.zip |
tui: flush ui buffer in tui_terminal_after_startup (#11083)
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 in 3626d2107.
`nvim -u NONE -cq` is still working (i.e. consuming the response for the
terminal background query itself), and the flickering mentioned in
3626d2107 is reduced again.
Reverts part of bfb21f3e0 (#7729).
Diffstat (limited to 'src/nvim/lua/executor.c')
0 files changed, 0 insertions, 0 deletions