mirror of
https://github.com/jarrodwatts/claude-hud.git
synced 2026-05-21 15:52:37 +00:00
* fix: render showSpeed and showDuration in expanded layout These config options were only implemented in the compact layout (renderSessionLine in session-line.ts). When using lineLayout: "expanded", enabling display.showSpeed or display.showDuration had no effect. This adds both options to renderProjectLine (the expanded layout's project line), matching the compact layout behavior: - showSpeed: output token speed (tok/s) - showDuration: session duration timer Fixes #221 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> * test: add renderProjectLine tests for showSpeed and showDuration Address Copilot review feedback by adding test coverage for the new expanded layout rendering of speed and duration: - duration shown when showDuration is true - duration omitted when showDuration is false - speed code path doesn't crash when showSpeed is true - speed omitted when showSpeed is false Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> * test: cover expanded layout speed rendering --------- Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com> Co-authored-by: Jarrod Watts <jarrod@cubelabs.xyz>