Set message input field background color as background color
This commit is contained in:
parent
087e4391ed
commit
a8ecb13367
1 changed files with 1 additions and 2 deletions
|
|
@ -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))
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue