diff options
author | Daniel Hahler <git@thequod.de> | 2019-09-22 21:51:55 +0200 |
---|---|---|
committer | Daniel Hahler <git@thequod.de> | 2019-10-08 19:18:07 +0200 |
commit | 3817518ab43cd7986fd670dbb955d89d7dc5685a (patch) | |
tree | fa4f6453a626364631e9fd64775a175c5a4fecf8 /test/functional/eval/json_functions_spec.lua | |
parent | 56d94129995a6ac008ee7461afb39af8a6a92028 (diff) | |
download | rneovim-3817518ab43cd7986fd670dbb955d89d7dc5685a.tar.gz rneovim-3817518ab43cd7986fd670dbb955d89d7dc5685a.tar.bz2 rneovim-3817518ab43cd7986fd670dbb955d89d7dc5685a.zip |
[release-0.4] terminfo_start: flush buffer #11074
This aligns with `terminfo_stop`, which also flushes the buffer
after disabling things.
This ensures Neovim gets the response to the terminal background query
before exiting (`nvim -u NONE -cq` with e.g. urxvt or kitty).
Caveats:
* With kitty this causes some "flickering", likely since the alternate
screen is being setup with `nvim -u NONE -cq`, whereas it would not be
processed otherwise before quitting (as with the background query).
* tmux after this patch may print ^[[I (CSI I / FocusGained) after
`nvim -u NONE -cq`.
Fixes https://github.com/neovim/neovim/issues/11062
Ref: https://github.com/neovim/neovim/issues/11181
Diffstat (limited to 'test/functional/eval/json_functions_spec.lua')
0 files changed, 0 insertions, 0 deletions