forked from Mirrors/gomuks
Add placeholder for message send box
This commit is contained in:
parent
181417d291
commit
4196931e1b
1 changed files with 2 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue