fix(tui): attribute TermResponse to source channel #40330

Problem: Attach-time terminal probes cannot distinguish responses from
different attached UIs.

Solution: Identify the UI by RPC channel id in `TermResponse` and make
`vim.tty.request()` filter responses by channel.
This commit is contained in:
Barrett Ruth
2026-06-23 05:19:56 -05:00
committed by GitHub
parent e4fbe162c1
commit db30608058
8 changed files with 139 additions and 78 deletions

View File

@@ -60,4 +60,5 @@ error('Cannot require a meta file')
--- @field cursor integer[]
--- @class vim.event.termresponse.data
--- @field chan integer
--- @field sequence string