From a8ecb1336748da71b5267ecb1c370f0bddd186d5 Mon Sep 17 00:00:00 2001 From: ayn2op Date: Sat, 7 Jan 2023 14:22:01 +0530 Subject: [PATCH] Set message input field background color as background color --- message_input.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/message_input.go b/message_input.go index 52e4844..7216ff6 100644 --- a/message_input.go +++ b/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))