TerminalCapabilitiesDetector class abstract
Detects and tracks terminal capabilities.
This system determines which features are supported by the current terminal environment, allowing the TUI to adapt its behavior accordingly.
Constructors
- TerminalCapabilitiesDetector()
- TerminalCapabilitiesDetector.agnostic()
-
Creates a comprehensive detector that combines multiple detection strategies.
factory
Properties
-
assumedCaps
→ Set<
Capability> -
Features that are likely supported but not confirmed
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
supportedCaps
→ Set<
Capability> -
Features that are definitively supported by the terminal
final
-
unsupportedCaps
→ Set<
Capability> -
Features that are explicitly not supported
final
Methods
-
detect(
) → Future< void> - Performs the capability detection process
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited