文件历史

提交图

1 次代码提交

作者 SHA1 备注 提交日期
kagura-agent 8e771def92 fix: align progress-bar labels to equal visual width (fixes #437)
When Context, Usage, and Weekly lines wrap to separate rows on narrow
terminals, their progress bars now align vertically. A shared
paddedLabel() helper pads each label with spaces to the maximum visual
width across the three labels, accounting for CJK double-width chars.

- Add src/render/lines/label-align.ts with paddedLabel() utility
- Update identity.ts and usage.ts to use paddedLabel()
- Add tests for English and Chinese label alignment
2026-04-20 18:46:07 +10:00