diff options
author | Gregory Anders <8965202+gpanders@users.noreply.github.com> | 2023-11-06 12:42:40 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-06 12:42:40 -0600 |
commit | 56627ca2423e9d6084f87f5bc4639f06d10ecf91 (patch) | |
tree | 98926016c96ef66a6c6e27b339e0c3450180af50 /runtime/doc/vim_diff.txt | |
parent | f9416470b15b3601c5b2d805a8cf3bdabd44a567 (diff) | |
download | rneovim-56627ca2423e9d6084f87f5bc4639f06d10ecf91.tar.gz rneovim-56627ca2423e9d6084f87f5bc4639f06d10ecf91.tar.bz2 rneovim-56627ca2423e9d6084f87f5bc4639f06d10ecf91.zip |
feat(tui): use TermResponse event for OSC responses (#25868)
When the terminal emulator sends an OSC sequence to Nvim (as a response
to another OSC sequence that was first sent by Nvim), populate the OSC
sequence in the v:termresponse variable and fire the TermResponse event.
The escape sequence is also included in the "data" field of the
autocommand callback when the autocommand is defined in Lua.
This makes use of the already documented but unimplemented TermResponse
event. This event exists in Vim but is only fired when Vim receives a
primary device attributes response.
Fixes: https://github.com/neovim/neovim/issues/25856
Diffstat (limited to 'runtime/doc/vim_diff.txt')
-rw-r--r-- | runtime/doc/vim_diff.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/runtime/doc/vim_diff.txt b/runtime/doc/vim_diff.txt index 8249179187..efebf46d85 100644 --- a/runtime/doc/vim_diff.txt +++ b/runtime/doc/vim_diff.txt @@ -567,6 +567,8 @@ Working directory (Vim implemented some of these after Nvim): Autocommands: - Fixed inconsistent behavior in execution of nested autocommands: https://github.com/neovim/neovim/issues/23368 +- |TermResponse| is fired for any OSC sequence received from the terminal, + instead of the Primary Device Attributes response. |v:termresponse| ============================================================================== Missing features *nvim-missing* |