Thanks to visit codestin.com
Credit goes to github.com

Skip to content

fix: do terminal emulation in reconnecting pty tests #9114

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Aug 16, 2023

Conversation

code-asher
Copy link
Member

It looks like it is possible for screen to use control sequences instead of literal newlines which fails the tests.

This reuses the existing readUntil function used in other pty tests.

All credit to @spikecurtis for identifying the cause!

@code-asher code-asher force-pushed the asher/screen-ansi-fix branch 6 times, most recently from 80a0055 to 59fd1b6 Compare August 15, 2023 21:59
It looks like it is possible for screen to use control sequences instead
of literal newlines which fails the tests.

This reuses the existing readUntil function used in other pty tests.
@code-asher code-asher force-pushed the asher/screen-ansi-fix branch from 59fd1b6 to 73778b9 Compare August 15, 2023 22:00
@code-asher code-asher requested a review from spikecurtis August 15, 2023 22:29
Copy link
Contributor

@spikecurtis spikecurtis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. A couple suggestions in comments, but I don't need to see this again before merging.

@code-asher code-asher force-pushed the asher/screen-ansi-fix branch from d94b049 to 149e661 Compare August 16, 2023 20:44
@code-asher code-asher merged commit 02ee724 into main Aug 16, 2023
@code-asher code-asher deleted the asher/screen-ansi-fix branch August 16, 2023 21:02
@github-actions github-actions bot locked and limited conversation to collaborators Aug 16, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants