Expand description
Terminal graphics capability detection and reporting.
The API is intentionally evidence-shaped instead of boolean-shaped. A
caller such as clud needs to know whether graphics support came from a
live probe, a strong host hint, weak environment identity, or a hard
negative. auto policies can then stay conservative while still surfacing
useful diagnostics.
Structs§
- Graphics
Capability - Detection result for one terminal graphics protocol.
- Terminal
Capabilities - Terminal capability snapshot used by clients and diagnostics.
- Terminal
Capability Input - Inputs used to detect terminal capabilities.
- Terminal
Graphics Capabilities - Graphics capability set detected for a terminal.
- Terminal
Probe Evidence - Raw terminal replies collected during active graphics probing.
Enums§
- Capability
Status - Detection result for a terminal graphics protocol.
- Evidence
Strength - Confidence level for graphics capability evidence.
- Graphics
Protocol - Terminal graphics protocols recognized by capability detection.
Functions§
- current_
terminal_ capabilities - Detects capabilities for the current terminal with the default probe timeout.
- current_
terminal_ capabilities_ with_ timeout - Detects capabilities for the current terminal using
timeoutfor active probes. - detect_
terminal_ capabilities - Detects terminal capabilities from explicit environment and probe evidence.
- primary_
da_ reports_ sixel - Returns whether a primary device attributes reply advertises Sixel support.
- terminal_
graphics_ capabilities_ from_ proto - Converts daemon protobuf terminal graphics capabilities into the Rust form.
- terminal_
graphics_ capabilities_ to_ proto - Converts terminal graphics capabilities into the daemon protobuf form.
- xtsmgraphics_
reports_ sixel - Returns whether an XTSMGRAPHICS reply indicates Sixel graphics support.