Skip to content

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

Closed

Description

@oising

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

Activity

  1. added
    Issue-Bug
    on Jul 20, 2017
  2. added a commit that references this issue on Aug 6, 2026
    4a15056
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Issue-BugWG-Interactive-PSReadLine

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions