From 4196931e1bef5c4e6cdea2e8921703be286b717a Mon Sep 17 00:00:00 2001 From: Tulir Asokan Date: Sat, 17 Mar 2018 12:47:57 +0200 Subject: Add placeholder for message send box --- view-main.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'view-main.go') diff --git a/view-main.go b/view-main.go index c08f7f3..acd9576 100644 --- a/view-main.go +++ b/view-main.go @@ -71,6 +71,8 @@ func (ui *GomuksUI) NewMainView() tview.Primitive { SetDoneFunc(mainView.InputDone). SetChangedFunc(mainView.InputChanged). SetFieldBackgroundColor(tcell.ColorDefault). + SetPlaceholder("Send a message..."). + SetPlaceholderExtColor(tcell.ColorGray). SetInputCapture(mainView.InputCapture) mainView.addItem(mainView.roomList, 0, 0, 2, 1) -- cgit v1.2.3