Skip to content
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

Consume all input during extract sequence #4882

Merged
merged 1 commit into from
Oct 16, 2024

Conversation

JohnMcPMS
Copy link
Member

@JohnMcPMS JohnMcPMS commented Oct 15, 2024

Change

When extracting a sequence, consume all (up to 1KB really) input even if it doesn't start with an escape character.

This was spurred by an issue where the peek call was not returning (waiting for input). Pressing Enter broke it out of that wait, but other input was now at the front and blocked future attempts to extract the sequence.

The best solution to this would be to move all input handling to its own dedicated thread, but that is a much larger change.
 

Validation

Manual confirmation that it continues to work in golden path.

Microsoft Reviewers: Open in CodeFlow

@JohnMcPMS JohnMcPMS requested a review from a team as a code owner October 15, 2024 20:16
@JohnMcPMS JohnMcPMS merged commit fa62b8b into microsoft:master Oct 16, 2024
9 checks passed
@JohnMcPMS JohnMcPMS deleted the fix-DA1 branch October 16, 2024 15:46
ryfu-msft pushed a commit that referenced this pull request Oct 21, 2024
## Change
When extracting a sequence, consume all (up to 1KB really) input even if
it doesn't start with an escape character.

This was spurred by an issue where the `peek` call was not returning
(waiting for input). Pressing Enter broke it out of that wait, but other
input was now at the front and blocked future attempts to extract the
sequence.

The best solution to this would be to move all input handling to its own
dedicated thread, but that is a much larger change.
ryfu-msft pushed a commit that referenced this pull request Oct 21, 2024
## Change
When extracting a sequence, consume all (up to 1KB really) input even if
it doesn't start with an escape character.

This was spurred by an issue where the `peek` call was not returning
(waiting for input). Pressing Enter broke it out of that wait, but other
input was now at the front and blocked future attempts to extract the
sequence.

The best solution to this would be to move all input handling to its own
dedicated thread, but that is a much larger change.
ryfu-msft pushed a commit that referenced this pull request Oct 22, 2024
## Change
When extracting a sequence, consume all (up to 1KB really) input even if
it doesn't start with an escape character.

This was spurred by an issue where the `peek` call was not returning
(waiting for input). Pressing Enter broke it out of that wait, but other
input was now at the front and blocked future attempts to extract the
sequence.

The best solution to this would be to move all input handling to its own
dedicated thread, but that is a much larger change.
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.

2 participants