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

Allow rebinding Cmd key on a Mac #1897

Open
eugenesvk opened this issue Jul 22, 2024 · 0 comments
Open

Allow rebinding Cmd key on a Mac #1897

eugenesvk opened this issue Jul 22, 2024 · 0 comments

Comments

@eugenesvk
Copy link
Contributor

As far as I understand, this is a complete list of all supported keybinds https://github.com/prompt-toolkit/python-prompt-toolkit/blob/master/src/prompt_toolkit/keys.py. It doesn't have Cmd key even though some terminals support passing it to the shell (e.g., via some https://sw.kovidgoyal.net/kitty/keyboard-protocol, not sure whether there are more comprehensive alternatives)

Am I correct that PTK currently doesn't support Cmd key and to enable it it would also have to explicitly add support for some kind of extra protocol? Or is there a simple way to rebind everything already today :)?

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

No branches or pull requests

1 participant