Add placeholder for message send box

This commit is contained in:
Tulir Asokan 2018-03-17 12:47:57 +02:00
parent 181417d291
commit 4196931e1b

View File

@ -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)