Skip to content

fix the transcript scroll model and polish input ux#37

Merged
jbj338033 merged 14 commits into
mainfrom
fix/tui-scroll-and-polish
Jun 10, 2026
Merged

fix the transcript scroll model and polish input ux#37
jbj338033 merged 14 commits into
mainfrom
fix/tui-scroll-and-polish

Conversation

@jbj338033

Copy link
Copy Markdown
Collaborator

Summary

The transcript estimated row counts with character-level wrap math while ratatui rendered with word wrap, so follow mode clipped the true bottom rows and scroll positions drifted. This PR introduces a style-preserving pre-wrap module so the cache holds exact visual rows, moves scroll to usize with an explicit follow flag, and fixes a batch of small UX issues: viewport-page scrolling, home/end jumps, wheel leaking behind overlays, streaming markdown pop-in, stale theme caches, composer cursor escaping the viewport on long input, and ctrl+c destroying drafts.

Verification

  • cargo fmt --all -- --check — passed
  • cargo clippy --workspace --all-targets -- -D warnings — passed
  • cargo test --workspace — 285 passed, 0 failed

🤖 Generated with Claude Code

@jbj338033 jbj338033 merged commit 0fee6f1 into main Jun 10, 2026
10 checks passed
@jbj338033 jbj338033 deleted the fix/tui-scroll-and-polish branch June 10, 2026 11:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant