Skip to content

Only stitch terminal URLs split at terminal wrap edge#193

Merged
SDSLeon merged 1 commit into
masterfrom
lightcode/vivid-ember-797a9ef6
Jun 16, 2026
Merged

Only stitch terminal URLs split at terminal wrap edge#193
SDSLeon merged 1 commit into
masterfrom
lightcode/vivid-ember-797a9ef6

Conversation

@SDSLeon

@SDSLeon SDSLeon commented Jun 16, 2026

Copy link
Copy Markdown
Owner
  • Bugfix: Stop gluing a truncated URL to the next line when that line is unrelated output (e.g. concurrently prefixes or a separate Vite URL).
  • Continue stitching across hard breaks only when the URL line reaches the terminal’s right edge, indicating a soft wrap whose isWrapped flag was lost (Windows ConPTY repaint, scrollback replay).
  • Detect wrap edges with column-accurate buffer cell width so wide/CJK glyphs are measured correctly.
  • Expand tests with faithful xterm line mocks (cell width, cols, wide glyphs) for wrap-edge and non-wrap cases.

- Gate hard-break URL continuation on `_isWrapEdge` using column cell width
- Handle wide/CJK glyphs, shrink-resize overrun rows, and unknown `cols`
- Add faithful xterm buffer mocks and stitch/skip regression tests
@vercel

vercel Bot commented Jun 16, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated (UTC)
lightcode-landing Skipped Skipped Jun 16, 2026 7:52pm

@SDSLeon SDSLeon merged commit a919ad6 into master Jun 16, 2026
6 checks passed
@SDSLeon SDSLeon deleted the lightcode/vivid-ember-797a9ef6 branch June 16, 2026 19:56
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