feat(tui): support DCS responses in TermResponse event (#26061)

This commit is contained in:
Gregory Anders
2023-11-16 11:12:42 -06:00
committed by GitHub
parent dc3f84bf4f
commit b4b7ca2d54
6 changed files with 43 additions and 29 deletions

View File

@ -2065,11 +2065,12 @@ function vim.api.nvim_ui_set_focus(gained) end
--- @param value any
function vim.api.nvim_ui_set_option(name, value) end
--- Tells Nvim when a terminal event has occurred.
--- Tells Nvim when a terminal event has occurred
--- The following terminal events are supported:
---
--- • "osc_response": The terminal sent a OSC response sequence to Nvim. The
--- payload is the received OSC sequence.
--- • "termresponse": The terminal sent an OSC or DCS response sequence to
--- Nvim. The payload is the received response. Sets `v:termresponse` and
--- fires `TermResponse`.
---
---
--- @param event string Event name