1
0
mirror of https://github.com/Rudi9719/kbtui.git synced 2026-03-22 07:37:23 +00:00

Automatically run clean when configs are loaded from file

This commit is contained in:
2019-10-23 10:31:43 -04:00
parent f04bf8e545
commit 3f33070635
2 changed files with 3 additions and 1 deletions

View File

@ -15,6 +15,7 @@ func init() {
func cmdClean(cmd []string) {
clearView("Chat")
clearView("List")
go populateChat()
go populateList()
}

View File

@ -92,4 +92,5 @@ func loadFromToml() {
if config.Has("Formatting.timeFormat") {
timeFormat = config.Get("Formatting.timeFormat").(string)
}
RunCommand("clean")
}