keyboard
keyboard copied to clipboard
Home and End Keys not being handled in Powershell
Running WSL in Powershell, the Home and End keys are not being handled in the keyboard.getKeyPress() function.
Both Home and End are 4 byte runes in this scenario. Adding the following lines to the hexCodes definition resolves this issue:
"1b5b46": {Code: keys.End, AltPressed: false}, "1b5b48": {Code: keys.Home, AltPressed: false},