Skip to content

feat(fmt): end VT output with its trailing rows, and replay soft wraps - #2

Merged
trancong12102 merged 2 commits into
masterfrom
replay-wraps
Oct 1, 2026
Merged

trancong12102 merged 2 commits into
masterfrom
replay-wraps

Conversation

@trancong12102

Copy link
Copy Markdown

Pins ghostty to aislopware/ghostty#2 (42c228683) and regenerates the bindings: VT output with unwrap now replays soft wraps together with the semantic prompt state, wraparound and insert follow the contents, and the new trailing_rows option ends VT output with its trailing blank rows.

  • FormatterOptions::with_trailing_rows, with a test.
  • with_unwrap says what it does for VT; with_semantic_prompt no longer says unwrap turns it off.

Tests: cargo test -p libghostty-vt passes locally against the pinned tree.

Moves GHOSTTY_COMMIT from d266f39d9 to 42c228683 on https://github.com/aislopware/ghostty.git (aislopware/ghostty#2): VT output with unwrap replays soft wraps, with the semantic prompt state; wraparound and insert follow the contents; and the trailing_rows option ends VT output with its trailing blank rows.

Co-Authored-By: Claude Code
FormatterOptions::with_trailing_rows asks VT output for the blank rows after the last one with text, so a replay into a fresh terminal of the same size has every row. with_unwrap now says what it does for VT, and with_semantic_prompt no longer says unwrap turns it off.

Co-Authored-By: Claude Code
@trancong12102
trancong12102 merged commit 14e355e into master Oct 1, 2026
2 of 6 checks passed
@trancong12102
trancong12102 deleted the replay-wraps branch October 1, 2026 03:34
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