Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Home and End Keys not being handled in Powershell #9

Open
kris-golden opened this issue Feb 7, 2025 · 0 comments · May be fixed by #10
Open

Home and End Keys not being handled in Powershell #9

kris-golden opened this issue Feb 7, 2025 · 0 comments · May be fixed by #10

Comments

@kris-golden
Copy link

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 kris-golden linked a pull request Feb 7, 2025 that will close this issue
@MarvinJWendt MarvinJWendt linked a pull request Feb 8, 2025 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant