mariusor / bubbles-tree

A charmbracelet bubbles model for representing tree structures

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Tree always opens in Full Screen

behinddwalls opened this issue · comments

I followed the example but the tree always opens up in the full screen even when AltOption is not provided.

Is is by default or am i missing something?

Hey @behinddwalls, apologies for the late reply, I was not paying attention to the issue tracker.

The reason why the top is not collapsed is because that's how we build the tree, if the node doesn't have a parent (only a root node would match this condition), we don't add the NodeCollapsed attribute. See here