Skip to content

Fix custom key binding on Windows - #657

Merged
Jason Shirk (lzybkr) merged 1 commit into
PowerShell:masterfrom
daxian-dbw:keybinding
Mar 25, 2018
Merged

Fix custom key binding on Windows#657
Jason Shirk (lzybkr) merged 1 commit into
PowerShell:masterfrom
daxian-dbw:keybinding

Conversation

@daxian-dbw

Copy link
Copy Markdown
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
Jason Shirk (lzybkr) merged commit 21cd4e3 into PowerShell:masterMar 25, 2018
@daxian-dbw
Dongbo Wang (daxian-dbw) deleted the keybinding branch March 26, 2018 15:36
Staffan Gustafsson (powercode) pushed a commit to powercode/PSReadLine that referenced this pull request Apr 9, 2018
Sign up for freeto 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

@daxian-dbw@lzybkr