Skip to content

Tree: expand on RIGHT key, collapse on LEFT key#198

Merged
RobLoach merged 1 commit into
masterfrom
fix/tree-expand-collapse-keys-197
May 22, 2026
Merged

Tree: expand on RIGHT key, collapse on LEFT key#198
RobLoach merged 1 commit into
masterfrom
fix/tree-expand-collapse-keys-197

Conversation

@RobLoach
Copy link
Copy Markdown
Owner

Adds a custom render function for the tree widget that intercepts LEFT and RIGHT directional inputs when the tree is the active widget. Pressing RIGHT expands the tree; pressing LEFT collapses it. The change marks input_processed so other widgets don't also react to the same press.

Fixes #197

@RobLoach RobLoach self-assigned this May 22, 2026
@RobLoach RobLoach merged commit 56917f6 into master May 22, 2026
1 check passed
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.

Tree: Expand on key right. Collapse on Key Left

1 participant