Something went wrong. Try again.
npx ccusage
Something went wrong. Try again.
README.md
ccusage-terminal #
Terminal rendering primitives: width detection, color handling, box titles, and the table writer every report uses.
Owns #
table.rs—SimpleTable, column alignment, terminal-width fitting, and date compaction.style.rs—TerminalStyle, color selection, andNO_COLORhandling.terminal.rs— terminal width detection.title.rs— the boxed report titles.width.rs— ANSI-aware display width measurement and truncation.
ccusage-core re-exports this crate's types, so adapters reach them through
ccusage_core rather than depending on it directly.
Public surface #
style::Colorstyle::TerminalStylestyle::colortable::Aligntable::SimpleTableterminal::terminal_widthtitle::print_box_titlewidth::truncate_to_width
Depends on #
terminal_sizeunicode-width
Build layer #
Built in the foundation Crane artifact layer, so a change here recompiles every adapter.