1
0
mirror of https://github.com/Rudi9719/kbtui.git synced 2026-03-22 09:57:24 +00:00

Set inputView title when out of chat

This commit is contained in:
Gregory Rudolph
2019-10-09 12:14:25 -04:00
parent 502467a162
commit 80ecb530d4
2 changed files with 2 additions and 0 deletions

View File

@ -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")
}

View File

@ -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 {