Module display

Source
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

Enums§

DisplayMode
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
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