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

Clean up colors, clean up config, make config actually be used, add default config

This commit is contained in:
Sam
2019-10-25 17:18:50 -04:00
parent 1a75ac8a49
commit 33a68670c9
16 changed files with 366 additions and 326 deletions

View File

@ -41,12 +41,12 @@ func cmdJoin(cmd []string) {
channel.TopicName = ""
channel.MembersType = keybase.USER
}
printInfoF("You are joining: $TEXT", messageLinkKeybaseColor.stylize(joinedName))
printInfoF("You are joining: $TEXT", config.Colors.Message.LinkKeybase.stylize(joinedName))
clearView("Chat")
setViewTitle("Input", fmt.Sprintf(" %s ", joinedName))
go populateChat()
default:
printInfo(fmt.Sprintf("To join a team use %sjoin <team> <channel>", cmdPrefix))
printInfo(fmt.Sprintf("To join a PM use %sjoin <user>", cmdPrefix))
printInfo(fmt.Sprintf("To join a team use %sjoin <team> <channel>", config.Basics.CmdPrefix))
printInfo(fmt.Sprintf("To join a PM use %sjoin <user>", config.Basics.CmdPrefix))
}
}