Parcourir la source

fix: pass cfg

ayn2op il y a 1 an
Parent
commit
4164ee3f0c
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  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,
 	}