fix: pass cfg to Layout while initialization
This commit is contained in:
parent
1e4d22fb77
commit
6a476e612d
1 changed files with 1 additions and 0 deletions
|
|
@ -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(),
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue