yera.runtime.handlers.targets.ansi
Compose handlers for interactive plain ANSI terminals.
The target uses Rich for output and terminal prompts for input. Media that requires terminal-specific graphics falls back to a textual representation.
Symbols
handlers
handlers(
console: Console,
) → dict[str, HandlerFactory]Return the block-type handler factories for plain ANSI terminals.
Parameters
console
type: Console
Console the handlers print to.
Returns
type: dict[str, HandlerFactory]
A mapping from block type to a factory for its handler.