Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

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

Copy link
Copy link
@oising

Description

@oising
Issue body actions

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
Reactions are currently unavailable

Metadata

Metadata

Assignees

Labels

Issue-BugIssue has been identified as a bug in the productIssue has been identified as a bug in the productWG-Interactive-PSReadLinePSReadline related issuesPSReadline related issues

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.