Expand description
§Display Module
Provides improved CLI output formatting with matrix/dashboard views for better readability and easier parsing by both humans and LLMs.
Structs§
- BoxDrawer
- Box drawer that pre-calculates optimal dimensions
- Color
Adapter - Color adapter that provides appropriate colors based on terminal background
Enums§
- Color
Scheme - Represents the detected or configured terminal background type
- Display
Mode - Display mode for analysis output
Functions§
- display_
analysis - Main display function that routes to appropriate formatter
- display_
analysis_ to_ string - Main display function that returns a string instead of printing
- display_
analysis_ with_ return - Combined function that both prints and returns a string
- format_
project_ category - Format project category name
- get_
category_ emoji - Get emoji for project category
- get_
color_ adapter - Get the global color adapter instance
- init_
color_ adapter - Initialize the global color adapter with a specific scheme
- strip_
ansi_ codes - Strip ANSI escape codes from a string
- truncate_
to_ width - Truncate string to specified visual width, preserving color codes
- visual_
width - Calculate visual width of a string, handling ANSI color codes