Expand description
Console rendering primitives for terminal diagnostics and debugging.
This module provides best-effort terminal capability detection and styled
text rendering without forcing any output. Consumers can use Console with
an explicit writer to keep output deterministic in tests.
Structs§
- Capabilities
- Terminal capability information.
- Console
- Console for rendering styled output with terminal detection.
- Style
- Text style configuration.
- Text
- Styled text container.
Enums§
- Color
- Color value for styled output.
- Color
Mode - Color mode selection.
- Color
Support - Supported color depth.
Traits§
Functions§
- char_
width - Compute display width of a single character.
- str_
width - Compute display width of a string.