Repository navigation
Conversation
cowboyd
force-pushed
the
tree-keyboard
branch
2 times, most recently
from
August 7, 2026 06:21
0ad0b20 to
8f33f36
Compare
commit: |
cowboyd
force-pushed
the
tree-keyboard
branch
3 times, most recently
from
August 11, 2026 04:27
c6ece67 to
532022e
Compare
cowboyd
force-pushed
the
tree-keyboard
branch
2 times, most recently
from
August 22, 2026 05:24
03d11a7 to
c493b8c
Compare
cowboyd
force-pushed
the
tree-keyboard
branch
2 times, most recently
from
August 23, 2026 17:28
1b9f4bb to
a8344a2
Compare
cowboyd
force-pushed
the
tree-keyboard
branch
from
September 18, 2026 21:15
a8344a2 to
51ead46
Compare
cowboyd
force-pushed
the
tree-keyboard
branch
from
September 24, 2026 14:00
51ead46 to
4f8fb36
Compare
Contributor
Author
|
closing out in favor of a DOM based substrate. See #37 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Raw key events arrive at the Host root, but controls need to receive them at the currently focused node. A dedicated keyboard layer recognizes
@bomb.sh/ttykey events and translates root dispatch into node-scopedKeyboardApioperations. This lets an input, menu, or third-party control install keyboard semantics exactly where it lives in the tree.Keeping keyboard routing separate from generic dispatch leaves room for other event families and keeps editing policy out of the terminal scanner. Keydown, keyup, and key-repeat remain distinct semantic operations, while malformed or unrelated events continue through the general dispatch chain.
This PR adds
KeyboardApianduseKeyboard(). Valid keydown, keyup, and key-repeat events are routed to the focused node, while non-key and malformed events delegate unchanged.