Browse Source

Set inputView title when out of chat

pull/2/head
Gregory Rudolph 5 years ago
parent
commit
80ecb530d4
  1. 1
      cmdStream.go
  2. 1
      main.go

1
cmdStream.go

@ -17,5 +17,6 @@ func cmdStream(cmd []string) { @@ -17,5 +17,6 @@ func cmdStream(cmd []string) {
stream = true
channel.Name = ""
printToView("Feed", "You are now viewing the formatted stream")
viewTitle("Input", " Not in a chat /j to join ")
clearView("Chat")
}

1
main.go

@ -265,6 +265,7 @@ func layout(g *gocui.Gui) error { @@ -265,6 +265,7 @@ func layout(g *gocui.Gui) error {
}
inputView.Editable = true
inputView.Wrap = true
inputView.Title = " Not in a chat /j to join"
g.Cursor = true
}
if listView, err4 := g.SetView("List", 0, 0, maxX/2-maxX/3-1, maxY-1); err4 != nil {

Loading…
Cancel
Save