From 3fe05ad40fc05bfb91ce5f2d35695796dcf0e6b2 Mon Sep 17 00:00:00 2001 From: ayntgl Date: Sun, 23 Jan 2022 22:30:09 +0400 Subject: [PATCH] Change message InputField default placeholder background --- ui/views.go | 1 + 1 file changed, 1 insertion(+) diff --git a/ui/views.go b/ui/views.go index 6cb091c..2b99e85 100644 --- a/ui/views.go +++ b/ui/views.go @@ -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) }).