Skip to content

Fix custom key binding on Windows #657

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 1 commit into from
Mar 25, 2018
Merged

Conversation

daxian-dbw
Copy link
Member

Fix #580

Attempt to fix the custom key binding on Windows.

On Linux, the Modifiers of the ConsoleKeyInfo read in from Console.ReadKey() sometimes is 0, even though the ctrl key is pressed, for example, this happens for ctrl+[, ctrl+], ctrl+h and more others.
Therefore, this PR is only to fix the custom key binding on Windows.

@lzybkr lzybkr merged commit 21cd4e3 into PowerShell:master Mar 25, 2018
@daxian-dbw daxian-dbw deleted the keybinding branch March 26, 2018 15:36
powercode pushed a commit to powercode/PSReadLine that referenced this pull request Apr 9, 2018
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.

Many custom keybindings broken with latest build (1.0.200) from AppVeyor
2 participants