1
0
mirror of https://github.com/Rudi9719/kbtui.git synced 2026-03-25 12:03:33 +00:00

refactor viewTitle() to setViewTitle()

This commit is contained in:
2019-10-16 19:24:06 -04:00
parent dc52c48d99
commit 8e6724bdb6
4 changed files with 6 additions and 6 deletions

View File

@ -43,7 +43,7 @@ func cmdJoin(cmd []string) {
}
printToView("Feed", fmt.Sprintf("You are joining: %s", joinedName))
clearView("Chat")
viewTitle("Input", fmt.Sprintf(" %s ", joinedName))
setViewTitle("Input", fmt.Sprintf(" %s ", joinedName))
go populateChat()
default:
printToView("Feed", fmt.Sprintf("To join a team use %sjoin <team> <channel>", cmdPrefix))