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

Keys #4631

Merged
merged 11 commits into from
Jun 9, 2024
Merged

Keys #4631

merged 11 commits into from
Jun 9, 2024

Conversation

willmcgugan
Copy link
Collaborator

@willmcgugan willmcgugan commented Jun 9, 2024

Implements Kitty's keyboard protocol https://sw.kovidgoyal.net/kitty/keyboard-protocol/#modifiers

This should enable a few more keys, and modifier combinations. Also sane escape key detection.

iTerm implements an earlier version of this protocol, but it seems backwards compatible. Kitty and a number of other more modern terminals implement it fully.

Of course, Terminal.app doesn't. Nothing should break, but it does mean that some keys and combinations will be different. Not sure what we can do about that, other than document it. But it would be a shame not to support it if we can.

@willmcgugan willmcgugan marked this pull request as draft June 9, 2024 16:27
@willmcgugan
Copy link
Collaborator Author

@darrenburns @davep You may find this interesting.

@davep
Copy link
Contributor

davep commented Jun 9, 2024

Nice. I'll try and find some time to play.

@willmcgugan willmcgugan marked this pull request as ready for review June 9, 2024 20:08
@willmcgugan willmcgugan merged commit aa988e6 into main Jun 9, 2024
20 checks passed
@willmcgugan willmcgugan deleted the keys branch June 9, 2024 20:26
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 this pull request may close these issues.

2 participants