Skip to content

Kitty Protocol Support #26

Closed
Closed

Description

@ShalokShalom

Kitty has solved one of the longest standing issues of terminals in my opinion.

It allows you to use more than just the ctrl and alt key as modifiers.

https://sw.kovidgoyal.net/kitty/keyboard-protocol/

It is opt-in, backwards compatible and supported by so good as all editors, and many more programs.

It would help me to get keybindings in, that I am used to from VSCode, Zed, and other graphical editors.

It would greatly enhance the appeal for TuiOS, beyond its current scope.

Thanks a lot for considering. 👍🏻

Activity

  1. Gaurav-Gosain commented on Nov 2, 2025

    @Gaurav-Gosain
    Owner

    Hey @ShalokShalom I believe since the key events are handled by bubbletea and it already does have support for the Kitty Keyboard Protocol https://github.com/charmbracelet/bubbletea/blob/v2.0.0-beta.6/key.go#L136 That would mean inherently tuios also has support for the same. I will have to review my code for how I allow custom keybinds but as long as it doesn't conflict with your OS or your terminal emulator itself, you should be able to map custom keybinds with the kitty kb protocol and they should just work!

    Just as an example, I have mapped ctrl+space as a custom keybind (which I believe is a non-standard key) to close a window and it seems to work perfectly...

    Image
  2. ShalokShalom commented on Nov 2, 2025

    @ShalokShalom
    ContributorAuthor

    Thanks, I did send a PR to the Kitty protocol Wiki, so they include that!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions