diff options
author | Tulir Asokan <tulir@maunium.net> | 2018-03-17 12:47:57 +0200 |
---|---|---|
committer | Tulir Asokan <tulir@maunium.net> | 2018-03-17 12:47:57 +0200 |
commit | 4196931e1bef5c4e6cdea2e8921703be286b717a (patch) | |
tree | 0f88725182bb41e4c651f917a95337b5e17dea02 | |
parent | 181417d2916b015925027efe74992a62a6c8b7bb (diff) |
Add placeholder for message send box
-rw-r--r-- | view-main.go | 2 |
1 files changed, 2 insertions, 0 deletions
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) |