Match keyboard key names on OSX

Open
#4,055 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
csharp, macos, powershell

Research direction

Start by inspecting the PSReadLineKeyHandler get and set behavior and how keyboard key names are currently displayed. Define the expected macOS names and whether the change should be automatic or configurable, then verify both handlers show and accept the chosen names.

Written by the indexing model from the issue text.

Description

Issue-Enhancement Needs-Triage :mag:
Prerequisites
  • 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

Dominant language
C#
Stars
4.4k
Forks
341
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from PowerShell/PSReadLine

All issues in PowerShell/PSReadLine

Similar issues

More C# issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.