8000 BUG: PSReadline Set-PSReadlineKeyHandler is case sensitive for Function names · Issue #4300 · PowerShell/PowerShell · GitHub
[go: up one dir, main page]

Skip to content

BUG: PSReadline Set-PSReadlineKeyHandler is case sensitive for Function names #4300

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

Closed
oising opened this issue Jul 19, 2017 · 0 comments
Closed
Assignees
Labels
Issue-Bug Issue has been identified as a bug in the product WG-Interactive-PSReadLine PSReadline related issues

Comments

@oising
Copy link
Contributor
oising commented Jul 19, 2017

Steps to reproduce

set-psreadlinekeyhandler "ctrl+k" -Function yank # note: lower case "yank"

Expected behavior

Should set ctrl+k to function Yank

Actual behavior

Causes null reference exception due to reflection using a case sensitive lookup for the method (default behaviour) - needs binding flags applied to call.

Environment data

> $PSVersionTable
n/a -- issue is with PSReadline 1.2
@iSazonov iSazonov added the WG-Interactive-PSReadLine PSReadline related issues label Jul 20, 2017
@iSazonov iSazonov added the Issue-Bug Issue has been identified as a bug in the product label Jul 20, 2017
oising added a commit to oising/PowerShell that referenced this issue Jul 20, 2017
oising added a commit to oising/PowerShell that referenced this issue Jul 20, 2017
@lzybkr lzybkr closed this as completed in 8d3f853 Aug 7, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue-Bug Issue has been identified as a bug in the product WG-Interactive-PSReadLine PSReadline related issues
Projects
None yet
Development

No branches or pull requests

2 participants
0