~mariusor/motley

0a020a04344aec03c3f6a78e12f3d457e4c80fae — Marius Orcsik 4 months ago 36ea0de
Enable debug on the tree model
1 files changed, 3 insertions(+), 1 deletions(-)

M ui.go
M ui.go => ui.go +3 -1
@@ 130,7 130,9 @@ var (
//}

func Launch(base pub.IRI, r st.Store, o osin.Storage) error {
	return tea.NewProgram(tree.New(FedBOX(base, r, o))).Start()
	t := tree.New(FedBOX(base, r, o))
	t.Debug = true
	return tea.NewProgram(t).Start()
}

func newModel(base pub.IRI, r st.Store, o osin.Storage) *model {