Browse Source

Automatically run clean when configs are loaded from file

pull/28/head
Gregory Rudolph 4 years ago
parent
commit
3f33070635
Signed by: rudi
GPG Key ID: EF64F3CBD1A1EBDD
  1. 3
      cmdClean.go
  2. 1
      cmdSet.go

3
cmdClean.go

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

1
cmdSet.go

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

Loading…
Cancel
Save