fix: pass cfg to Layout while initialization

This commit is contained in:
ayn2op 2024-10-12 20:12:24 -04:00
parent 1e4d22fb77
commit 6a476e612d

View file

@ -22,6 +22,7 @@ type Layout struct {
func newLayout(cfg *config.Config) *Layout {
app := tview.NewApplication()
l := &Layout{
cfg: cfg,
app: app,
flex: tview.NewFlex(),