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

Accept bindings to key functions bigger than F12 #3414

Open
GCBallesteros opened this issue Jun 11, 2024 · 3 comments
Open

Accept bindings to key functions bigger than F12 #3414

GCBallesteros opened this issue Jun 11, 2024 · 3 comments

Comments

@GCBallesteros
Copy link

As it currently stands any attempt to bind a function key with number bigger than 12 results in the following error message:

  × Failed to parse Zellij configuration
   ╭─[/home/guillem/.config/zellij/config.kdl:4:1]
 5 │         bind "F13" {GoToNextTab;}
   ·         ────────────┬────────────
   ·                     ╰── Invalid key: 'F13'
 6 │     }
   ╰────

I have a programmable keyboard that can go up to F24. I usually use these for triggering program specific functionality. Would it be feasible to allow function keys beyond F12?

@ryanramage
Copy link

just hit this myself.

@cristiand391
Copy link
Contributor

I don't have a keyboard to test it but seems the kitty keyboard protocol would fix this:

#3383
https://sw.kovidgoyal.net/kitty/keyboard-protocol/#functional

@GCBallesteros
Copy link
Author

It looks like termwiz does support function keys up to 24

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

3 participants