-
Notifications
You must be signed in to change notification settings - Fork 316
Description
I'm using Autohotkey to suppress the annoying menukey functionality of the Alt key (selecting menu items on a single press of Alt). However, in PowerShell with PSReadline enabled it prints @
symbols instead of printing nothing
(this bug report is a copy of PowerShell/PowerShell#14357 where I learned that the culprit is PSReadline (I don't get any @
symbols when loading Powershell without this module))
Environment
PS version: 7.2.0-preview.1
PSReadline version: 2.2.0-beta1
os: 10.0.19041.320 (WinBuild.160101.0800)
PS file version: 7.2.0.0
HostName: ConsoleHost
BufferWidth: 127
BufferHeight: 30000
Steps to reproduce
Assign the following Autohotkey (this is for v2, in v1 omit the '
symbols) mapping to the Alt key:
~Alt::Send '{Blind}{vkE8}'
This sends an unassigned key signal that should do nothing, but has the benefit of masking the menukey functionality (vkFF
has no mapping, but still bugs Powershell).
Press the Alt key
Expected behavior
Nothing should be printed, just like nothing is printed in all the other apps (cmd.exe console, old system powershell.exe console or any other GUI app)
Actual behavior
I get an @
symbol printed instead
@