aboutsummaryrefslogtreecommitdiff
path: root/view-main.go
diff options
context:
space:
mode:
authorTulir Asokan <tulir@maunium.net>2018-03-17 12:47:57 +0200
committerTulir Asokan <tulir@maunium.net>2018-03-17 12:47:57 +0200
commit4196931e1bef5c4e6cdea2e8921703be286b717a (patch)
tree0f88725182bb41e4c651f917a95337b5e17dea02 /view-main.go
parent181417d2916b015925027efe74992a62a6c8b7bb (diff)
Add placeholder for message send box
Diffstat (limited to 'view-main.go')
-rw-r--r--view-main.go2
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)