keyboard icon indicating copy to clipboard operation
keyboard copied to clipboard

Home and End Keys not being handled in Powershell

Open kris-golden opened this issue 11 months ago • 0 comments

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},

kris-golden avatar Feb 07 '25 03:02 kris-golden