You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Retained live regions reorder viewport rows after a scroll #197
area:coreTerminal emulation, grid storage, parser and public read models.bugSomething isn't workingp1High impact on a core workflow or a repeatably failing required check.pythonThe Python library, its public distribution, and test integrations.topic:apiPublic Python types, methods, error contracts and discoverability.topic:identityGrid coordinates and terminal objects across observations and generations.
A live RegionView retained across output can return rows in a different order from the visible viewport. The screen recycles its backing rows as it scrolls. The retained region still holds the original row objects. Nested live crops in #193 inherit that lifetime.
Reproduction
From a libvt checkout, run this public API example.
The retained live rectangle and a fresh slice at the same coordinates both read B, C, D. The captured rectangle still reads A, B, C.
Actual
('D', 'B', 'C') ('B', 'C', 'D') B ('A', 'B', 'C')
Environment
Revisions tested
Linux aarch64, CPython 3.15.2. Reproduced on master 299c9d9 and the omnibus 4c0bf02.
References
#2 introduced the captured row references and coordinate-following direct rows. #100 addresses direct row width, and #183 implements that fix. The nested-crop change belongs to #193. Verify scroll, replacement of rows by reflow, cropped columns, and snapshot isolation at the public read model.
area:coreTerminal emulation, grid storage, parser and public read models.bugSomething isn't workingp1High impact on a core workflow or a repeatably failing required check.pythonThe Python library, its public distribution, and test integrations.topic:apiPublic Python types, methods, error contracts and discoverability.topic:identityGrid coordinates and terminal objects across observations and generations.
Activity