resolve pr comments

This commit is contained in:
Igor German
2019-05-02 15:50:48 +03:00
parent be3cc6d20d
commit 7357ed4649
3 changed files with 27 additions and 19 deletions

View File

@@ -70,7 +70,7 @@ func main() {
l := widgets.NewTree()
l.TextStyle = ui.NewStyle(ui.ColorYellow)
l.WrapText = false
l.Nodes = nodes
l.SetNodes(nodes)
x, y := ui.TerminalDimensions()