-
Notifications
You must be signed in to change notification settings - Fork 297
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
Cannot define a key handler for Ctrl+B #3817
Comments
It's a doc issue. It should be |
I confirm it works with The documentation states that "as of PSReadLine 2.0.0, the Chord parameter is case-sensitive. Meaning, |
|
I'm afraid I cannot concur here. When https://support.microsoft.com/en-us/windows/keyboard-shortcuts-in-windows-dcc61a57-8ff0-cffe-9796-cb9706c75eec tells me to use |
I think the new phrasing Letter key references are defined using lowercase letters should suffice--provided users do read the doc 😜. |
Prerequisites
Exception report
N/A
Screenshot
Environment data
Steps to reproduce
Run the code snippet in the second example of https://learn.microsoft.com/en-us/powershell/module/psreadline/set-psreadlinekeyhandler?view=powershell-7.3
Hit
Ctrl+B
Expected behavior
build<enter>
should be fed to the prompt(this is what happens e.g. if
-Chord F12
is used)Actual behavior
^B
is displayedThe text was updated successfully, but these errors were encountered: