Skip to content

fix(tui): preserve hyperlink cell widths - #711

Merged
mohitranka merged 1 commit into
mainfrom
fix/conversation-hyperlinks
Sep 17, 2026
Merged

mohitranka merged 1 commit into
mainfrom
fix/conversation-hyperlinks

Conversation

@mohitranka

Copy link
Copy Markdown
Contributor

Summary

  • Preserve each glyph's display width when attaching OSC 8 hyperlinks so Ratatui does not skip adjacent cells during buffer diffing.
  • Extend conversation coverage through the Crossterm backend and add Unicode/incremental repaint regressions.
  • Document the buffer-diff width invariant.

Validation

  • Reproduced the missing link-cell update before applying the fix.
  • cargo test --package forge-tui --locked link -- --nocapture (21 passed)
  • cargo test --package forge-tui --locked an_unsupported_terminal_receives_no_escape_bytes (1 passed)
  • cargo fmt --all -- --check
  • cargo clippy --workspace --all-targets --locked -- -D warnings (passed; local macOS SDK cache warnings)

Real-terminal clicking has not been manually verified.

@mohitranka
mohitranka merged commit 4c4177e into main Sep 17, 2026
3 checks passed
@mohitranka
mohitranka deleted the fix/conversation-hyperlinks branch September 17, 2026 08:33
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