ShowParamterHelp is bound to Alt+h by default which doesn't work on macOS

Open
#2,242 6 comments 0 reactions 1 assignee View on GitHub

@theJasonHelmick is already working on this.

Since Feb 24, 2021.

Assessment

This issue has not been assessed yet.

Description

Area-KeyHandlers Issue-KeyboardLayout OS-macOS

Environment

PS version: 7.2.0-preview.3
PSReadline version: 2.2.0-beta2
os: Darwin mmomalife.northamerica.corp.microsoft.com 20.3.0 Darwin Kernel Version 20.3.0: Thu Jan 21 00:07:06 PST 2021; root:xnu-7195.81.3~1/RELEASE_X86_64 x86_64
PS file version: 7.2.0.0
HostName: ConsoleHost
BufferWidth: 381
BufferHeight: 94

By default 2.2-beta2 binds Alt+h to ShowParameterHelp, but Alt+h on macOS prints Unicode 0xCB99 instead of calling the key handler. There is already an issue with .NET in not catching some keyboard combinations correctly on Unix systems. For now, it may make sense to pick a different default binding that works on Windows and Linux/macOS. Perhaps F2?

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.