Selaa lähdekoodia

fix: pass cfg

ayn2op 1 vuosi sitten
vanhempi
sitoutus
4164ee3f0c
1 muutettua tiedostoa jossa 1 lisäystä ja 0 poistoa
  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,
 	}