Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Top level of Tree is not rendered #443

Closed
MarvinJWendt opened this issue Jan 22, 2023 · 0 comments · Fixed by #444
Closed

Top level of Tree is not rendered #443

MarvinJWendt opened this issue Jan 22, 2023 · 0 comments · Fixed by #444
Assignees
Labels
bug Something isn't working

Comments

@MarvinJWendt
Copy link
Member

	tree := pterm.TreeNode{
		Text: "Hello World Top",
		Children: []pterm.TreeNode{{
			Text: "Hello World Child",
			Children: []pterm.TreeNode{{
				Text: "Hello World Grandchild",
			}},
		}},
	}

	pterm.DefaultTree.WithRoot(tree).Render()

image

@MarvinJWendt MarvinJWendt added the bug Something isn't working label Jan 22, 2023
@MarvinJWendt MarvinJWendt self-assigned this Jan 22, 2023
MarvinJWendt added a commit that referenced this issue Jan 22, 2023
@MarvinJWendt MarvinJWendt linked a pull request Jan 22, 2023 that will close this issue
MarvinJWendt added a commit that referenced this issue Jan 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant