Skip to content
Snippets Groups Projects

V.0.1.0 Codename Threadbare

Closed Ghost User requested to merge v.0.1.0-codename-threadbare into master
3 files
+ 13
12
Compare changes
  • Side-by-side
  • Inline
Files
3
@@ -11,10 +11,10 @@ type CommandListView struct {
}
func NewCommandListView(rootTitle string) *CommandListView {
v := &CommandListView{}
v.rootNode = tview.NewTreeNode(rootTitle)
v.commandsTree = tview.NewTreeView()
v := &CommandListView{
rootNode: tview.NewTreeNode(rootTitle),
commandsTree: tview.NewTreeView(),
}
v.commandsTree.
SetRoot(v.rootNode).
SetTitle("Commands").
Loading