-
Notifications
You must be signed in to change notification settings - Fork 266
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
Fix alt modifier #441
base: main
Are you sure you want to change the base?
Fix alt modifier #441
Conversation
@maaslalani Can you review this. Thanks. |
Thanks so much @mikelorant! ❤️ |
@maaslalani Please see issue #442 for the details. I believe you do not have your terminal set correctly and are not actually sending what is considered the |
Further testing has made things a bit more confusing. WezTerm
macOS Terminal
|
May have a solution for you, will test this out tomorrow and update the pull request.
In terms of recording, need to do some brainstorming. Only have the tables to lookup against. May need to add all the key presses we can think of. What terminal are you using? |
The alt modifier was not handled correctly for both sending and recording key presses. To send the key press, the `ESC` sequences needs to be transmitted before the key. For recording, the escape sequences lookup table had to be updated with all alphanumeric combinations. Syntax highlights had also not been updated. Signed-off-by: Michael Lorant <[email protected]>
Yeah you're most likely right about my alt key actually being meta, since I'm on a Mac. |
Want me to fix up the conflicts and then you can experiment with this branch? |
Hey, sorry for the delay on this. How should this be used? I tried adding
|
The alt modifier was not handled correctly for both sending and recording key presses.
To send the key press, the
ESC
sequences needs to be transmitted before the key.For recording, the escape sequences lookup table had to be updated with all alphanumeric combinations.
Syntax highlights had also not been updated.