Open
Description
Environment
PS version: 7.1.1
PSReadline version: 2.1.0
os: 10.0.19041.800 (WinBuild.160101.0800)
PS file version: 7.1.1.0
HostName: ConsoleHost (Windows Terminal)
BufferWidth: 120
BufferHeight: 30
Exception report
N/A
Steps to reproduce
- Open powershell with Japanese layout keyboard.
- Press "無変換(Muhenkan)" key on keyboard.
Expected behavior
This is not character key - so nothing should happen and be displayed in console.
Actual behavior
Console prints @ key.
Backgrounds
I ran [console]::ReadKey() in pwsh and press "無変換(Muhenkan)" key.
KeyChar Key Modifiers
------- --- ---------
29 0
Japanese is not an alphabet, so I use an IME - Input Method Editor (e.g. Microsoft IME) to type it.
The "Muhenkan" key is for IME operation, so it does not send any characters.
It didn't occur with the "半角/全角(Hankaku/Zenkaku)" key and the "変換(Henkan)" key for operating Japanese IME.
However, if I press it together with the ALT key, the "@" will be displayed like "Muhenkan" key.