feat(tui): support APC queries in TermResponse (#34426)

Add support for APC sequences to libtermkey and the TermResponse
autocommand event.
This commit is contained in:
Gregory Anders
2025-06-11 08:26:58 -05:00
committed by GitHub
parent 966b1da183
commit de87ceb3be
8 changed files with 36 additions and 9 deletions

View File

@@ -4028,8 +4028,8 @@ nvim_ui_term_event({event}, {value}) *nvim_ui_term_event()*
Tells Nvim when a terminal event has occurred
The following terminal events are supported:
• "termresponse": The terminal sent an OSC or DCS response sequence to
Nvim. The payload is the received response. Sets |v:termresponse| and
• "termresponse": The terminal sent an OSC, DCS, or APC response sequence
to Nvim. The payload is the received response. Sets |v:termresponse| and
fires |TermResponse|.
Attributes: ~

View File

@@ -1045,7 +1045,7 @@ TermRequest When a |:terminal| child process emits an OSC,
autocommand defined without |autocmd-nested|.
*TermResponse*
TermResponse When Nvim receives an OSC or DCS response from
TermResponse When Nvim receives an OSC, DCS, or APC response from
the host terminal. Sets |v:termresponse|. The
|event-data| is a table with the following fields:

View File

@@ -221,7 +221,7 @@ TREESITTER
TUI
todo
|TermResponse| now supports APC query responses.
UI