Skip to content

PSReadline should not bind to keys that are not usable #3890

@SteveL-MSFT

Description

@SteveL-MSFT

#3815 (comment)

On Nano, two apis are not available which prevents usage, for example, of ctrl+] as a valid key chord to bind to a PSReadline handler. PSReadline, by default, binds this key combination to go to matching brace. When connected directly to a Nano container (not via PSRP), it will show:

Ctrl+Oem6             GotoBrace               Go to matching brace

which is not useful to the end user. It seems the right thing to do may be to not bind this (as well as two other chords dependent on ]) by default if those APIs are not avaialble.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions