Skip to content

DeviceAttributesQueryToken ​

Namespace: Hex1b.Tokens

Assembly: Hex1b.dll

Represents a Primary Device Attributes (DA1) request: CSI c or CSI 0 c.

csharp
public sealed record DeviceAttributesQueryToken : AnsiToken, IEquatable<AnsiToken>, IEquatable<DeviceAttributesQueryToken>

Inheritance ​

Object → AnsiToken → DeviceAttributesQueryToken

Implements ​

Remarks ​

The hosted workload sends this to ask what kind of terminal it is talking to. The authoritative reply shape is CSI ? Pn (; Pn)* c, where DEC parameter 4 anywhere after the device-class parameter declares Sixel graphics support. Whether answers this token at all depends on query ownership: it stays silent when the workload's is true (the remote producer owns replies), or the active presentation's is true (a real upstream terminal will already answer directly), and otherwise synthesizes a reply from its own authoritative capability model.

Released under the MIT License.