Skip to content

[CTX-0058] Implement resize and scrollback for terminal #90

Closed

Description

@Xuepoo

Implement resize and scrollback handling. Gates: cargo test, just check.

CarryCtx: CTX-0058

  • State::resize singular reflow (Grid/Scrollback truncate/pad with orphan repair, tab lattice resize, cursor clamp, scroll region reset, damage full+scrollback)
  • View::visible_cells scrollback-aware composition (col offset, orphan truncation), Runtime::handle_resize wiring and View offset clamping, bounded reflow
  • Fixes ses_fb7edd547 low defects: primary_save spacer repair, dead branch removal, dev-dep documented exception
  • Integration tests: crates/bitty-term-state/tests/resize_scrollback.rs (8 tests) and crates/bitty-runtime/tests/resize_scrollback.rs (4 tests); gates: cargo check --workspace --all-targets PASS, cargo test PASS, just check 28 files 0 issues, headless still works

Refs: CTX-0058

Activity

  1. added
    feat
    area:term
    on Aug 29, 2026
  2. added this to the v0.0.1 milestone on Aug 29, 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

    area:termfeat

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions