PSReadLine icon indicating copy to clipboard operation
PSReadLine copied to clipboard

Match keyboard key names on OSX

Open sassdawe opened this issue 1 year ago • 1 comments

Prerequisites

  • [X] Write a descriptive title.

Description of the new feature/enhancement

When it comes to get or set of the PSReadLineKeyHandler, when on MacOS please show and use the available key names of the OS. Don't refer to the ALT key when there is no such key available, instead use command, option, etc.

In case you don't want to make a full switch, please allow an option to change how they key handlers are shown, so people with Apple keyboard could see the proper key names, while people with generic keyboards can still see the ALT key when they keyboard has them.

Proposed technical implementation details (optional)

No response

sassdawe avatar Jun 28 '24 10:06 sassdawe

@StevenBucher98 what do you think, have I captured this correctly?

sassdawe avatar Jun 28 '24 10:06 sassdawe