refactor(tty): tty.request() #39489

Problem:
- Various `TermRequest` handlers which all do similar things.
- `tty.query` is specific to `XTGETTCAP DCS`, can't be reused for other kinds of terminal queries.

Solution:
Provide `tty.request()`.
This commit is contained in:
Justin M. Keyes
2026-04-30 07:26:40 -04:00
committed by GitHub
parent 071f9748c0
commit d9ed4c8566
11 changed files with 223 additions and 244 deletions

View File

@@ -60,6 +60,7 @@ vim._submodules = {
iter = true,
re = true,
text = true,
tty = true,
provider = true,
}