Add placeholder for message send box
This commit is contained in:
parent
181417d291
commit
4196931e1b
@ -71,6 +71,8 @@ func (ui *GomuksUI) NewMainView() tview.Primitive {
|
|||||||
SetDoneFunc(mainView.InputDone).
|
SetDoneFunc(mainView.InputDone).
|
||||||
SetChangedFunc(mainView.InputChanged).
|
SetChangedFunc(mainView.InputChanged).
|
||||||
SetFieldBackgroundColor(tcell.ColorDefault).
|
SetFieldBackgroundColor(tcell.ColorDefault).
|
||||||
|
SetPlaceholder("Send a message...").
|
||||||
|
SetPlaceholderExtColor(tcell.ColorGray).
|
||||||
SetInputCapture(mainView.InputCapture)
|
SetInputCapture(mainView.InputCapture)
|
||||||
|
|
||||||
mainView.addItem(mainView.roomList, 0, 0, 2, 1)
|
mainView.addItem(mainView.roomList, 0, 0, 2, 1)
|
||||||
|
Loading…
Reference in New Issue
Block a user