Skip to content

Cap transcript width at 120 columns for readability#29

Open
n-WN wants to merge 3 commits into
masterfrom
n-WN/tui-line-wrap-fix
Open

Cap transcript width at 120 columns for readability#29
n-WN wants to merge 3 commits into
masterfrom
n-WN/tui-line-wrap-fix

Conversation

@n-WN
Copy link
Copy Markdown
Collaborator

@n-WN n-WN commented Apr 12, 2026

Summary

  • Adds a MAX_TRANSCRIPT_WIDTH (120 columns) cap to the TUI transcript rendering area
  • On wide terminals, text now wraps at 120 columns instead of stretching across the full terminal width
  • Applied consistently across rendering, viewport storage, line count, and height calculations

Test plan

  • cargo check passes
  • Existing tests pass (130/130, 2 pre-existing failures unrelated)
  • Visually verify on terminals wider than 120 columns that text wraps earlier
  • Verify no change on terminals narrower than 120 columns

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