Skip to content

feat(tui): add symbol key support to keybinding system#450

Merged
badlogic merged 1 commit intobadlogic:mainfrom
kaofelix:main
Jan 4, 2026
Merged

feat(tui): add symbol key support to keybinding system#450
badlogic merged 1 commit intobadlogic:mainfrom
kaofelix:main

Conversation

@kaofelix
Copy link
Copy Markdown
Contributor

@kaofelix kaofelix commented Jan 4, 2026

Adds support for binding to symbol keys (, -, =, [, ]`, etc.) in the keybinding system.

Changes

packages/tui

  • Added SymbolKey type with 32 symbol keys
  • Added symbol key constants to Key helper (e.g., Key.backtick, Key.comma, Key.period)
  • Updated matchesKey() and parseKey() to handle symbol key input
  • Added header note about ASCII control character overlaps

packages/coding-agent

  • Expanded "Key format" documentation to list all 32 supported symbol keys
  • Added "symbol keys" example with practical bindings
  • Added note about legacy ASCII control character overlaps (e.g., ctrl+[ = Escape, ctrl+M = Enter)
  • Added link to Kitty keyboard protocol documentation for full mapping

Note: While some ctrl+symbol have clashes and didn't work for me, they are still useful for ctrl+shift+symbol.

- Added SymbolKey type with 32 symbol keys
- Added symbol key constants to Key helper (Key.backtick, Key.comma, Key.period, etc.)
- Updated matchesKey() and parseKey() to handle symbol key input
- Added documentation in coding-agent README with examples
@badlogic badlogic merged commit b836a9d into badlogic:main Jan 4, 2026
1 check passed
@badlogic
Copy link
Copy Markdown
Owner

badlogic commented Jan 4, 2026

Cheers!

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