Repository navigation
Key identity comes from formbridge; keys.py is upstream again - #316
Merged
Merged
Conversation
DeclaredKey, NavigationKey and the arrow keys (hjkl included) leave keys.py for formbridge.key_declarations; BindingDeclaration, the Textual projection, moves into binding.py beside CommandBinding. EditingMode and VimMode drop their navigation_spellings copies; the InputMode family answers. Screen computes 'printable outside text input' once per key instead of per binding. formbridge joins the declared dependencies beside metaclass-registry. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016gZLdupVQyBzHTmHBC9Cyn
trissim
marked this pull request as ready for review
November 16, 2026 20:31
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.
The engine renders; formbridge owns key identity (OpenHCSDev/formbridge#25).
keys.pyback to upstream: its fork diff goes from +125 to 0. DeclaredKey, UndecodedKey, NavigationKey and the arrow keys with hjkl are nowformbridge.key_declarations.binding.pybeside CommandBinding;dom.pyandnavigation.pyimport it from there.navigation_spellingscopies; InputMode/ModalInputMode answer.Screen.dispatch_remapped_keyworks out 'printable, and the target doesn't take typed text' once per key and hands it topreempts.pyproject.toml: formbridge joins the dependencies beside metaclass-registry (same git-main form as AbstractHooksMeta comes from metaclass_registry; Textual's copy is deleted #313).metaclass_registry.key_declarationsandtextual.keysarrow import repointed.Checks: tests naming the moved names (test_navigation_spellings, test_input_key_movement_actions, test_edit_via_bindings) 118 passed. Bindings for every DOM context in every key mode (EditingMode, VimMode, Toad's four modes), plus ToadApp's, 20,058 lines: identical before and after apart from the expected
textual.keys.toformbridge.key_declarations.identity rename.Saved keymaps: Toad rows naming
textual.keys.UpKeyand friends are carried by OpenHCSDev/agent-comms' newtoad_formbridge_arrow_keysstep.🤖 Generated with Claude Code
https://claude.ai/code/session_016gZLdupVQyBzHTmHBC9Cyn