From 4164ee3f0c54202b8c521942d2b1634726cd4988 Mon Sep 17 00:00:00 2001 From: ayn2op Date: Sat, 12 Oct 2024 20:15:33 -0400 Subject: [PATCH] fix: pass cfg --- cmd/message_input.go | 1 + 1 file changed, 1 insertion(+) diff --git a/cmd/message_input.go b/cmd/message_input.go index bd9f7e5..854c7b1 100644 --- a/cmd/message_input.go +++ b/cmd/message_input.go @@ -26,6 +26,7 @@ type MessageInput struct { func newMessageInput(app *tview.Application, cfg *config.Config) *MessageInput { mi := &MessageInput{ TextArea: tview.NewTextArea(), + cfg: cfg, app: app, }