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

added autoScrollView() on joining channel

This commit is contained in:
2019-10-29 18:21:36 -06:00
parent 60c5302aec
commit 37dc6b8d4f

View File

@ -45,6 +45,7 @@ func cmdJoin(cmd []string) {
clearView("Chat") clearView("Chat")
setViewTitle("Input", fmt.Sprintf(" %s ", joinedName)) setViewTitle("Input", fmt.Sprintf(" %s ", joinedName))
lastChat = joinedName lastChat = joinedName
autoScrollView("Chat")
go populateChat() go populateChat()
default: default:
printInfo(fmt.Sprintf("To join a team use %sjoin <team> <channel>", config.Basics.CmdPrefix)) printInfo(fmt.Sprintf("To join a team use %sjoin <team> <channel>", config.Basics.CmdPrefix))