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:
@ -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))
|
||||
|
||||
Reference in New Issue
Block a user