Skip to content

Override PSRL ReadKey on Windows as well #1072

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

Conversation

TylerLeonhardt
Copy link
Member

Fixes PowerShell/vscode-powershell#1753

What this does is has PSRL override its ReadKey with ours on Windows as well so we can properly cancel the ReadKey when we need to for things like when you F8 a Read-Host.

@TylerLeonhardt TylerLeonhardt changed the title initial attempt Override PSRL ReadKey on Windows as well Oct 24, 2019
Copy link
Collaborator

@SeeminglyScience SeeminglyScience left a comment

Choose a reason for hiding this comment

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

LGTM

@TylerLeonhardt
Copy link
Member Author

tfw I don't need to backport a change

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

PowerShell Preview: issue with host implementation dropping the first letter
3 participants