Ver Fonte

fix: pass cfg

ayn2op há 1 ano atrás
pai
commit
4164ee3f0c
1 ficheiros alterados com 1 adições e 0 exclusões
  1. 1 0
      cmd/message_input.go

+ 1 - 0
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,
 	}