Jelajahi Sumber

Set message input field background color as background color

ayn2op 3 tahun lalu
induk
melakukan
a8ecb13367
1 mengubah file dengan 1 tambahan dan 2 penghapusan
  1. 1 2
      message_input.go

+ 1 - 2
message_input.go

@@ -20,9 +20,8 @@ func newMessageInput() *MessageInput {
 		InputField: tview.NewInputField(),
 	}
 
-	mi.SetFieldBackgroundColor(tview.Styles.PrimitiveBackgroundColor)
 	mi.SetInputCapture(mi.onInputCapture)
-
+	mi.SetFieldBackgroundColor(tcell.GetColor(cfg.Theme.MessageInput.BackgroundColor))
 	mi.SetBackgroundColor(tcell.GetColor(cfg.Theme.MessageInput.BackgroundColor))
 
 	mi.SetTitleColor(tcell.GetColor(cfg.Theme.MessageInput.TitleColor))