Skip to content

v0.2.0

  • v0.2.0
  • 0642ea4
  • Verified

    This commit was signed with the committer’s verified signature.
    cowboyd Charles Lowell
  • Choose a tag to compare

  • v0.2.0
  • 0642ea4
  • Choose a tag to compare

  • Verified

    This commit was signed with the committer’s verified signature.
    cowboyd Charles Lowell
@cowboyd cowboyd tagged this 26 Mar 14:50
Parse CSI codepoint;modifiers u sequences from terminals that support
the Kitty keyboard protocol (Kitty, Ghostty, WezTerm, iTerm2, etc).
Maps special key codepoints (Tab, Enter, Escape, Backspace, F1-F12,
arrows, etc.) to existing KEY_* constants, and decodes modifier
bitfields to MOD_* flags.

Protocol overview: https://sw.kovidgoyal.net/kitty/keyboard-protocol/
Key encoding: https://sw.kovidgoyal.net/kitty/keyboard-protocol/#key-event-encoding
Functional keys: https://sw.kovidgoyal.net/kitty/keyboard-protocol/#functional-key-definitions
Modifier encoding: https://sw.kovidgoyal.net/kitty/keyboard-protocol/#modifiers
Assets 2
Loading