Repository navigation
feat(term): implement resize and scrollback with bounded reflow (CTX-0058) - #91
Merged
Merged
Conversation
…0058) Implements 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 with bounded reflow invariants preserved. Fixes ses_fb7edd547 low defects: primary_save spacer repair, dead branch removal, dev-dep documented exception (bitty-ui dev-dep cycle exception). Adds 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 (fmt/clippy/test/actionlint/markdownlint), headless still works. Refs: CTX-0058
Xuepoo
force-pushed
the
ctx-0058/feat-resize-scrollback
branch
from
August 28, 2026 11:33
e43c74b to
13bf139
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Implements resize and scrollback with bounded reflow.
Fixes #90
Refs: CTX-0058