Skip to main content

Module style

Module style 

Source
Expand description

ANSI color and text styling utilities

This module provides functions for applying ANSI escape codes to terminal text, enabling colored and styled output in the status line.

Functionsยง

apply_style
Applies ANSI styling to text for terminal display
render_with_style_template
Render a simple module-local format string that can contain variable tokens like $path, $model, $symbol, $branch and optional bracket-style annotations: [$content]($style).