From 6a476e612d97a06fc79f09fb4e37e0c167d8b7a6 Mon Sep 17 00:00:00 2001 From: ayn2op Date: Sat, 12 Oct 2024 20:12:24 -0400 Subject: [PATCH] fix: pass cfg to Layout while initialization --- cmd/layout.go | 1 + 1 file changed, 1 insertion(+) diff --git a/cmd/layout.go b/cmd/layout.go index c6612e9..d471905 100644 --- a/cmd/layout.go +++ b/cmd/layout.go @@ -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(),