The TermResponse event:
Fires:
When Neovim receives an OSC
or DCS
response from the terminal.
Notes:
When used from Lua, the response string is included in the "data" field of the auto-command callback.
May fire part way through another event (file I/O, a shell command, or anything else that takes time).