Skip to content

Synchronize alternate screen restoration test - #150

Merged
myobie merged 1 commit into
mainfrom
agent/alt-screen-synchronize
Jul 31, 2026
Merged

Synchronize alternate screen restoration test#150
myobie merged 1 commit into
mainfrom
agent/alt-screen-synchronize

Conversation

@myobie

@myobie myobie commented Jul 31, 2026

Copy link
Copy Markdown
Collaborator

What changed

The alternate-screen restoration test now waits until its client has observed the pre-alt main-buffer line before input allows the shell to enter and leave the alternate screen.

Why

The first timing fix correctly waited for post-exit state, but the shell could still enter alternate screen before the client observed the main-buffer setup. PR #128's exact hosted run demonstrated that residual startup race: the post-exit marker was visible while the pre-alt line was absent.

Production behavior is unchanged; this is a test-only synchronization correction.

Validation

@myobie
myobie marked this pull request as ready for review July 31, 2026 19:17
@myobie
myobie merged commit 33e61cf into main Jul 31, 2026
2 checks passed
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