claw-code/rust/crates/rusty-claude-cli
TheArchitectit 8fb40350e4 fix(tui): word-wrap conversation lines and align dashboard columns
Three fixes for the rendering mess when output goes off-screen:

1. Word-wrap conversation pane lines — long output no longer bleeds
   into the dashboard. The wrap_line() function soft-wraps at word
   boundaries and hard-breaks long tokens. The viewport math is
   updated to count *visual* rows (not logical Line items).

2. Dashboard kv() aligned columns — keys are right-padded to a
   fixed 12-char column (KV_KEY_WIDTH) so values line up cleanly
   regardless of key length.

3. Context gauge positioned by row tracking, not hard-coded y offset.
   The gauge_row counter moves with the section content, so it stays
   correct whether git_branch, LSP, or Team sections are shown/hidden.
   Also switched dashboard Wrap to trim: false to preserve spacing.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-06-11 10:27:17 -05:00
..
.claw/sessions feat(runtime): typed task packet format for structured claw dispatch 2026-04-04 00:40:20 +09:00
src fix(tui): word-wrap conversation lines and align dashboard columns 2026-06-11 10:27:17 -05:00
tests fix: /config help returns structured section list (#344) 2026-06-05 07:09:48 +09:00
Cargo.toml feat: TUI split-pane layout with ratatui dashboard 2026-06-10 16:49:35 -05:00
build.rs fix: expose complete version provenance 2026-06-04 15:55:08 +09:00