Change message InputField default placeholder background
This commit is contained in:
parent
c3e572b8ce
commit
3fe05ad40f
1 changed files with 1 additions and 0 deletions
|
|
@ -46,6 +46,7 @@ func NewMainFlex(app *App) *tview.Flex {
|
|||
app.MessageInputField.
|
||||
SetPlaceholder("Message...").
|
||||
SetFieldBackgroundColor(tview.Styles.PrimitiveBackgroundColor).
|
||||
SetPlaceholderStyle(tcell.StyleDefault.Background(tview.Styles.PrimitiveBackgroundColor)).
|
||||
SetInputCapture(func(e *tcell.EventKey) *tcell.EventKey {
|
||||
return onMessageInputFieldInputCapture(app, e)
|
||||
}).
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue