Skip to content

Split/resize drops line tails instead of reflowing #440

Closed

Description

@Xuepoo

Priority: P1 | Area: render | Labels: fix,area:render,P1 | Milestone: v0.1.0 | RFC: OQ-007 | Task: CTX-0266

Owner live report: opening a new panel narrows the existing pane and long lines do NOT rewrap; the second half disappears (truncated, not wrapped).

Expected (ghostty/xterm-class): narrowing reflows (rewraps) lines so no content is lost; widening unwraps back.

Fix (branch ctx-0266/fix-reflow-rewrap): primary screen reflows via soft-wrap flags with wide-pair atomicity and combining-mark safety; scrollback stays coherent with fresh monotonic ids; alt screen keeps truncate (xterm, application owns it). Headless tests: reflow_rewrap_repro (4) + updated resize_scrollback. Live split/screenshot verification OWED (headless only here).

Closes via owning PR.

Activity

  1. added this to the v0.1.0 milestone on Sep 9, 2026
  2. added
    fix
    P1
    area:render
    on Sep 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P1area:renderfix

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions