charmbracelet / lipgloss

Style definitions for nice terminal layouts 👄
MIT License
7.64k stars 209 forks source link

Use Tree API #312

Open hanxuanliang opened 1 month ago

hanxuanliang commented 1 month ago

Describe the bug

Upon reviewing the current release, the utilization of the tree has been eliminated. Now, what is the optimal approach for utilizing the tree API?

carreter commented 2 weeks ago

For anyone who is having issues with importing the tree and list modules, you can tell go to use the master branch release instead of the latest release:

go get github.com/charmbracelet/lipgloss@master

meowgorithm commented 2 weeks ago

As a note, tree and list are in master but not considered yet finalized until release, and we do expect to change the API a little more.