terminal/.github/actions/spelling
James Holderness 6140fd9ab8
Add basic support for the DECRQSS settings query (#11152)
This PR adds support for the `DECRQSS` (Request Selection or Setting)
escape sequence, which is a standard VT query for reporting the state of
various control functions. This initial implementation only supports
queries for the `DECSTBM` margins, and the `SGR` graphic rendition
attributes.

This can be useful for certain forms of capability detection (#1040). As
one example in particular, it can serve as an alternative to the
`COLORTERM` environment variable for detecting truecolor support
(#11057). 

Of the settings that can be queried by `DECRQSS`, the only other one
that we could be supporting at the moment is `DECSCUSR` (Cursor Style).
However, that would require passing the query through to the conpty
client, which is a lot more complicated, so I thought it best to leave
for a future PR.

For now this gets the basic framework in place, so we are at least
responding to queries, and even just supporting the `SGR` attributes
query is useful in itself.

Validation
----------
I've added a unit test verifying the reports for the `DECSTBM` and `SGR`
settings with a range of different parameters. I've also tested the
`DECSTBM` and `SGR` reports manually in _Vttest_, under menu 11.2.5.3.6
(Status-String Reports).
2021-09-08 23:26:44 +00:00
..
allow Spec for Elevation QOL improvements (#8455) 2021-08-25 12:42:55 -05:00
expect Add basic support for the DECRQSS settings query (#11152) 2021-09-08 23:26:44 +00:00
patterns Convert four INSIDE_WINDOWS blocks to til features (#10404) 2021-06-10 23:48:54 +00:00
advice.md ci: spelling: update to v0.0.18 (#10035) 2021-05-14 08:28:37 -05:00
excludes.txt ci: spelling: update to v0.0.18 (#10035) 2021-05-14 08:28:37 -05:00
reject.txt ci: spelling: update to v0.0.18 (#10035) 2021-05-14 08:28:37 -05:00