Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/toad/keymap.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ def capture(cls, modes: tuple[type[KeyMode], ...]) -> KeymapCatalog:
"""The catalog of the classes declared now. Reading those declarations is a class walk;
building their bindings is not, so it runs once per distinct set of declarations."""
discover()
return cls.of(tuple(modes), DOMNode.contexts(), tuple(ApplicationAction.declarations()))
return cls.of(tuple(modes), DOMNode.descendants(), tuple(ApplicationAction.declarations()))

@classmethod
@cache
Expand Down
Loading