Skip to main content

Crate prismtty

Crate prismtty 

Source
Expand description

PrismTTY terminal highlighting primitives.

This crate exposes the configuration parser, bundled profile store, style model, and highlighters used by the prismtty, ptty, and ct binaries.

Re-exports§

pub use config::PrismConfig;
pub use highlight::Highlighter;
pub use highlight::StreamingHighlighter;
pub use highlight::StyledSpan;
pub use profiles::ProfileStore;

Modules§

cli
Command-line entry point and CLI error type. Command-line entry point for the PrismTTY binaries.
config
Configuration loading and profile YAML parsing. Configuration and profile-file parsing.
highlight
Batch and streaming terminal output highlighters. Terminal highlighting engines.
profiles
Built-in profile definitions and profile detection helpers. Built-in profile store and startup detection helpers.
style
Terminal style parsing and ANSI color rendering. Style parser and ANSI color rendering utilities.