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

The InputStateMachine should dispatch Intermediate characters #1267

Merged
merged 4 commits into from Jun 14, 2019

Conversation

zadjii-msft
Copy link
Member

Summary of the Pull Request

The OutputStateMachine needs to collect "Intermediate" characters to be able to call Designate G0 Character Set (as well as other sequences we don't yet support).

However, the InputStateMachine used by conpty to process input should not collect these characters. The input engine uses \x1b as an indicator that a key was pressed with Alt. For keys like /, we want to dispatch the key immediately, instead of collecting it and leaving us in the Escape state.

PR Checklist

  We need the input state machine to not collect intermediate chars
@zadjii-msft zadjii-msft added Product-Conpty For console issues specifically related to conpty Area-Input Related to input processing (key presses, mouse, etc.) Area-VT Virtual Terminal sequence support labels Jun 14, 2019
Copy link
Contributor

@DHowett-MSFT DHowett-MSFT left a comment

Choose a reason for hiding this comment

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

Yay!

@zadjii-msft zadjii-msft merged commit 94bcbb9 into master Jun 14, 2019
@zadjii-msft zadjii-msft deleted the dev/migrie/b/1209-alt-intermediate-conpty branch June 14, 2019 19:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-Input Related to input processing (key presses, mouse, etc.) Area-VT Virtual Terminal sequence support Product-Conpty For console issues specifically related to conpty
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Previous keystrokes modify following keystrokes
3 participants